# easycrypto

> Bare-bones Nodejs crypto module abstraction providing a very simple and unsophisticated encryption API.

Latest version **0.1.1** (published 2013-03-19) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2013-03-19 |
| First published | 2013-03-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.x |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Brian Carr |
| Maintainers | mrmarbles |
| Keywords | crypto, encryption, decryption, encrypt, decrypt |

## Links

- npm: https://www.npmjs.com/package/easycrypto
- Repository: http://github.com/mrmarbles/easycrypto
- npm.io page: https://npm.io/package/easycrypto

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2013-03-19
- 0.0.3 — 2013-03-12
- 0.0.2 — 2013-03-11
- 0.0.1 — 2013-03-11

## README

[![Build Status](https://travis-ci.org/mrmarbles/easycrypto.png)](https://travis-ci.org/mrmarbles/easycrypto)

easycrypto
==========

Bare-bones Nodejs crypto module abstraction providing a very simple and unsophisticated encryption API.

Installation
---------------
     npm install easycrypto

Use
---------------
    var easycrypto = require('easycrypto').getInstance();

    var encrypted = easycrypto.encrypt('hello world', 'some random password');

    var decrypt = easycrypto.decrypt(encrypted, 'some random password');

Algorithms
---------------
Defaults to `aes-256-cbc` however will support other OpenSSL algorithms your specific platform supports (per Nodes crypto documentation).

    var easycrypto = require('easycrypto').getInstance({
      algorithm: 'aes128'
    });

Testing
---------------
    npm test

License
-------
[MIT License](http://mrmarbles.mit-license.org/ "Mit License")

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