How to perform SHA3 sum of your string in Node.js, Ruby and Bash.

Node.js

Assuming you already have npm installed in your Ubuntu 20.04. You’ll need to install SHA3 package with the following command.

Once completed, create a file named sha3sum.js and copy the contents below into the file.