@shout-sdk/cryptography
v1.0.0
Published
Shout cryptography utilities including SHA3 hashing and salting.
Downloads
6
Readme
@shout-sdk/cryptography
Shout cryptography utilities including SHA3 hashing and salting.
Install
npm i @shout-sdk/cryptography
Example Usage
import { CryptographyUtilities } from '@shout-sdk/cryptography';
const hashedPassword = CryptographyUtilities.hash('supersecretpassword');
const hashedAndSaltedPassword = CryptographyUtilities.saltAndRehash(hashedPassword, saltString);
const answer = CryptographyUtilities.calculateAnswer(question, hashedAndSaltedPassword);