# smallorange-crypto

> const assert = require('assert'); const crypto = require('yarn add smallorange-crypto'); const { encrypt, decrypt } = crypto('mcpT)(_C-5n=nv"/t~4zBGtnx8/.YTSU'); // 32 byte key

Latest version **1.0.1** (published 2018-10-03) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install smallorange-crypto
pnpm add smallorange-crypto
yarn add smallorange-crypto
bun add smallorange-crypto
```

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-10-03 |
| First published | 2018-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | feliperohde |

## Links

- npm: https://www.npmjs.com/package/smallorange-crypto
- npm.io page: https://npm.io/package/smallorange-crypto

## Recent versions

- 1.0.1 (latest) — 2018-10-03
- 1.0.0 — 2018-05-30

## README

# yarn add smallorange-crypto

        const assert = require('assert');
        const crypto = require('yarn add smallorange-crypto');
        const {
            encrypt,
            decrypt
        } = crypto('mcpT)(_C-5n=nv"/t~4zBGtnx8/.YTSU'); // 32 byte key

        assert.strictEqual(decrypt(encrypt('encrypt')), 'encrypt');
        assert.strictEqual(decrypt(encrypt('mcpT)(_C-5n=nv"/t~4zBGtnx8/.YTSU')), 'mcpT)(_C-5n=nv"/t~4zBGtnx8/.YTSU');

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