# awesome-crypto-nodejs

> util functions for nodejs crypto

Latest version **0.2.2** (published 2021-12-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install awesome-crypto-nodejs
pnpm add awesome-crypto-nodejs
yarn add awesome-crypto-nodejs
bun add awesome-crypto-nodejs
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2021-12-15 |
| First published | 2019-04-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 0 |
| Unpacked size | 17.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Maintainers | linxiaowu66 |

## Links

- npm: https://www.npmjs.com/package/awesome-crypto-nodejs
- Repository: https://github.com/linxiaowu66/awesome-crypto
- Issues: https://github.com/linxiaowu66/awesome-crypto/issues
- npm.io page: https://npm.io/package/awesome-crypto-nodejs

## Recent versions

- 0.2.2 (latest) — 2021-12-15
- 0.2.1 — 2021-12-15
- 0.2.0 — 2021-03-26
- 0.1.1 — 2020-12-22
- 0.1.0 — 2020-12-22
- 0.0.11 — 2020-12-22
- 0.0.10 — 2020-04-30
- 0.0.9 — 2020-04-30
- 0.0.7 — 2019-04-25
- 0.0.6 — 2019-04-25
- 0.0.5 — 2019-04-25
- 0.0.4 — 2019-04-25
- 0.0.3 — 2019-04-25
- 0.0.2 — 2019-04-25
- 0.0.1 — 2019-04-25

## README

# utility encapsulation for nodejs crypto module

<a href="https://nodei.co/npm/awesome-crypto-nodejs"><img src="https://nodei.co/npm/awesome-crypto-nodejs.png" alt="NPM Stats" title="NPM Stats" /></a>

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')
```

---
_Source: https://npm.io/package/awesome-crypto-nodejs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
