awesome-crypto-nodejs
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

utility encapsulation for nodejs crypto module

NPM Stats

directory structure:

├── test 单元测试文件
├── types typescript类型文件
├── lib
│   ├── cipher 封装了加密解密相关的方法类
│   ├── certificate 封装了证书相关的方法类
│   ├── diffieHellman 封装了Diffie-Hellman相关的方法类
│   ├── ecdh 封装了椭圆曲线Diffie-Hellman相关的方法类
│   ├── hash 封装了哈希相关的方法类
│   ├── hmac 封装了Hmac摘要相关的方法类
│   ├── sign 封装了签名相关的方法类
│   └── verify 封装了签名验证相关的方法类

Install

yarn add awesome-crypto-nodejs / npm install awesome-crypto-nodejs

How to Use

eg:

import { Hash } from 'awesome-crypto-nodejs';

const ret = new Hash().generateDigest('md5', 'test me', 'base64')

Readme

Keywords

none

Package Sidebar

Install

npm i awesome-crypto-nodejs

Weekly Downloads

0

Version

0.2.2

License

MIT

Unpacked Size

17.5 kB

Total Files

13

Last publish

Collaborators

  • linxiaowu66