package
Node module to create ssha256 hashes
npm install node-ssha256GitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Node Module to create ssha256 hashes
npm install node-ssha256Create a base64 encoded hash
var ssha256 = require('node-ssha256');
message = "hallo"
hash = ssha256.create(message);Check if message matches hash
var ssha256 = require('node-ssha256');
message = "hallo"
hash = "{SSHA256}WosKbpN2dI/q4/wtG5AW82jFPeFNqXGbSfmd/ooJrRpiYWVh"
if(ssha256.check(message)) {
// message matched
} else {
// not matching
}