Node.js
Node.js
Example: SecureString.HashVal method
Demonstrates theHashVal method.
Chilkat Node.js Downloads
NODEJS_PRELUDE
function chilkatExample() {
var success = false;
var str = new chilkat.SecureString();
str.MaintainHash = "sha256";
str.Append("Hello World");
var encodedHash = str.HashVal("base64");
console.log(encodedHash);
}
chilkatExample();