1.0.0 • Published 6 years ago
@shout-sdk/cryptography v1.0.0
@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);
1.0.0
6 years ago