# deswrap

> -------------------------- install as project dependency ``` yarn add deswrap ```

Latest version **0.0.3** (published 2018-05-17) · 0 weekly downloads

## Install

```sh
npm install deswrap
pnpm add deswrap
yarn add deswrap
bun add deswrap
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2018-05-17 |
| First published | 2018-05-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | yes |
| GitHub stars | 0 |
| Maintainers | pomelo1213 |
| Keywords | des, version |

## Links

- npm: https://www.npmjs.com/package/deswrap
- Repository: https://github.com/Pomelo1213/deswrap
- Homepage: https://github.com/Pomelo1213/deswrap#readme
- Issues: https://github.com/Pomelo1213/deswrap/issues
- npm.io page: https://npm.io/package/deswrap

## Dependencies (1)

- [crypto-js](https://npm.io/package/crypto-js.md) ^3.1.9-1

## Alternatives

- [adhdev](https://npm.io/package/adhdev.md) — 11.1K weekly downloads
- [react-slide-button](https://npm.io/package/react-slide-button.md) — 310 weekly downloads
- [better](https://npm.io/package/better.md) — 42 weekly downloads
- [react-native-swipe-image](https://npm.io/package/react-native-swipe-image.md) — 22 weekly downloads
- [nl.fokkezb.pulltorefresh](https://npm.io/package/nl.fokkezb.pulltorefresh.md) — 11 weekly downloads

## Recent versions

- 0.0.3 (latest) — 2018-05-17
- 0.0.2 — 2018-05-17
- 0.0.1 — 2018-05-17
- 0.0.0 — 2018-05-15

## README

### des加密/解密
--------------------------
install as project dependency
```
yarn add deswrap
```

Then you can use like this
```
const { encryptByDES, decryptByDES } = require('deswrap')

var message = "hello"
var key = "123"

var encrypt = encryptByDES(message, key)

var decrypt = decryptByDES(encrypt, key)

console.log(encrypt)
console.log(decrypt)

```

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