1.0.0 • Published 6 years ago

@shout-sdk/cryptography v1.0.0

Weekly downloads
1
License
-
Repository
-
Last release
6 years ago

@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);