Skip to content

Drazail/crypto-react

Repository files navigation

crypto-react

JavaScript implementations of standard and secure cryptographic algorithms for react

Getting started

$ npm install crypto-react --save


Usage

hash

import { hash, HashAlgorithms, Encoders } from 'crypto-react';
hash('Message', HashAlgorithms.SHA256, Encoders.hex).then((hashedMessage)=>console.log(hashedMessage));

hmac

import { hmac, HmacAlgorithms, Encoders } from 'crypto-react';
hmac(
  'Message',
  'SecretKey',
  HmacAlgorithms.HmacSHA256,
  Encoders.hex,
).then((hmacMessage)=>console.log(hmacMessage));;

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published