]> Cypherpunks.ru repositories - gogost.git/blobdiff - download.texi
Let "hello world" string be the same in every example
[gogost.git] / download.texi
index cacd24bfdf7ae01362d77dc8436d92aeeb330c25..bfdc5bc016663e5e75aac49799e8aacd3b888b2e 100644 (file)
@@ -34,12 +34,12 @@ import (
 
 func main() {
     h := gost34112012256.New()
-    h.Write([]byte("hello world"))
+    h.Write([]byte("hello world\n"))
     fmt.Println(hex.EncodeToString(h.Sum(nil)))
 }
 EOF
 $ go run main.go
-c600fd9dd049cf8abd2f5b32e840d2cb0e41ea44de1c155dcd88dc84fe58a855
+f72018189a5cfb803dbe1f2149cf554c40093d8e7f81c21e08ac5bcd09d9934d
 @end verbatim
 
 GoGOST is also @command{go get}-able. For example to use