Xbase++
Xbase++
Example: SecureString.HashVal method
Demonstrates theHashVal method.
Chilkat Xbase++ Downloads
LOCAL nSuccess
LOCAL oStr
LOCAL cEncodedHash
nSuccess := 0
oStr := CreateObject("Chilkat.SecureString")
oStr:MaintainHash := "sha256"
oStr:Append("Hello World")
cEncodedHash := oStr:HashVal("base64")
? cEncodedHash
oStr:destroy()