Sample code for 30+ languages & platforms
Lianja

Example: SecureString.HashVal method

Demonstrates the HashVal method.

Chilkat Lianja Downloads

Lianja
llSuccess = .F.

loStr = createobject("CkSecureString")
loStr.MaintainHash = "sha256"
loStr.Append("Hello World")

lcEncodedHash = loStr.HashVal("base64")
? lcEncodedHash


release loStr