i want Convert Text(type=String) To Binary(type=String) And Conversely Using Go
some userfull link : Golang: How to convert String to binary representation & Convert string to binary in Go
but i need another.
i want example convert a text like hello to binary. and next can convert then binary to first text(hello).
var hash_text := hash("hello")//example return *****
var unhash_text := unhash(hash_text);//return hello
like this gist.github.com/hutt/8978333 (using php)
also speed for me is importamt.
*****and magically transforming it back doesn't make any sense[]byte, it already is as "binary" as you can get. Please show exactly the output you expect.1101000 1100101 1101100 1101100 1101111==helloin this php source