Go
Go
Example: SecureString.HashVal method
Demonstrates theHashVal method.
Chilkat Go Downloads
success := false
str := chilkat.NewSecureString()
str.SetMaintainHash("sha256")
str.Append("Hello World")
encodedHash := str.HashVal("base64")
fmt.Println(*encodedHash)
str.DisposeSecureString()