1.1.4 • Published 5 months ago
@mdip/cipher v1.1.4
MDIP cipher
MDIP cryptography utilities for encryption/decryption and creating/verifying signatures.
Installation
npm install @mdip/cipherUsage
The cipher library comes in two versions for servers and web browsers. The classes are identical but have different package dependencies.
Node server applications
// Import using subpaths
import CipherNode from '@mdip/cipher/node';
//Non-subpath import
import CipherNode from '@mdip/cipher';
const cipher = new CipherNode();Web browsers
// Import using subpaths
import CipherWeb from '@mdip/cipher/web';
//Non-subpath import
import CipherWeb from '@mdip/cipher';
const cipher = new CipherWeb();