Hash SHA1 func for Go

BTW, you know SHA-1 is insecure, right?