我想将Text
(type= String
) 转换为Binary
(type= String
) 并Conversely
使用 Go
一些用户完整的链接: Golang:如何在 Go 中将字符串转换为二进制表示和 将字符串转换为二进制
但我需要另一个。
我想要示例将文本转换hello
为binary
. 然后下一步可以将二进制转换为第一个文本(hello
)。
var hash_text := hash("hello")//example return *****
var unhash_text := unhash(hash_text);//return hello
像这个 gist.github.com/hutt/8978333 (使用 php)
speed
对我来说也是importamt
。