Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function testKey (str) { return sodium.crypto_hash(new Buffer(str)).slice(0, 56) }
node.js sodium bindings + pure js polyfil