string.go
func StringSHA1Base64(data string) string {
	hash := sha1.Sum([]byte(data))
	return base64.StdEncoding.EncodeToString(hash[:])
}
func StringSHA1Base64(data string) string {
	hash := sha1.Sum([]byte(data))
	return base64.StdEncoding.EncodeToString(hash[:])
}
func StringSHA1Base64 ( data string ) string { hash := sha1 . Sum ( [ ] byte ( data ) ) return base64 . StdEncoding . EncodeToString ( hash [ : ] ) }
// StringSHA1Base64 returns the base64 encoded SHA1 hash of data
StringSHA1Base64 returns the base64 encoded SHA1 hash of data