neucrypto
v1.0.4
Published
Module to make it easier to use the webcrypto api both in nodejs and the browser.
Downloads
9
Maintainers
Readme
NeuCrypto
A module for various crypto methods. Works in browser and node.js.
Table of Contents
Install
npm i neucrypto
Usage
NeuCrypto.hash:
import NeuCrypto from 'neucrypto'
const hash = await NeuCrypto.hash(...args)
// ...use byteView
NeuCrypto.createAPIKeyPair:
import NeuCrypto from 'neucrypto'
const apiKeyPair = await NeuCrypto.createAPIKeyPair()
// ...use apiKeyPair