MDIP cipher lib
npm install @mdip/cipherMDIP cryptography utilities for encryption/decryption and creating/verifying signatures.
``bash`
npm install @mdip/cipher
The cipher library comes in two versions for servers and web browsers.
The classes are identical but have different package dependencies.
`js
// Import using subpaths
import CipherNode from '@mdip/cipher/node';
//Non-subpath import
import CipherNode from '@mdip/cipher';
const cipher = new CipherNode();
`
`js
// Import using subpaths
import CipherWeb from '@mdip/cipher/web';
//Non-subpath import
import CipherWeb from '@mdip/cipher';
const cipher = new CipherWeb();
``