@nakov/

SHA3-256-hello-in-JS

Nodejs

Calculate SHA3-256('hello') in JavaScript

fork
loading
Files
  • index.js
  • package-lock.json
  • package.json
index.js
1
2
3
4
const sha3 = require('js-sha3')

let sha3_256hash = sha3.sha3_256('hello').toString('hex')
console.log("SHA3-256('hello') =", sha3_256hash)