Tcl
Tcl
Example: SecureString.HashVal method
Demonstrates theHashVal method.
Chilkat Tcl Downloads
load ./chilkat.dll
set success 0
set str [new_CkSecureString]
CkSecureString_put_MaintainHash $str "sha256"
CkSecureString_Append $str "Hello World"
set encodedHash [CkSecureString_hashVal $str "base64"]
puts "$encodedHash"
delete_CkSecureString $str