These Go snippets were written while learning how to program in Go. They might be useful to other people learning one part of the standard library or another. Do not hesitate to fork or contribute if you feel so inclined.
Code hereby placed in the Public Domain.
Enjoy!
-
generate-password.go
Simple password generation by picking random characters among a given character set.
-
gdes.go
Launch a set of known test vectors on 3DES
-
ghash.go
Compute crypto hashes of files which names are provided on the command-line.
-
https-server.go
A primitive HTTP server that requires client-side authentication and will echo the client-side Common Name
-
serialize.go
How to serialize/de-serialize a map to JSON.