# emperia-crypt

> Encryption Decryption library for Emperia

Latest version **1.0.0** (published 2019-01-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install emperia-crypt
pnpm add emperia-crypt
yarn add emperia-crypt
bun add emperia-crypt
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-01-15 |
| First published | 2019-01-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.5 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | Emperia Team |
| Maintainers | nithyan |

## Links

- npm: https://www.npmjs.com/package/emperia-crypt
- npm.io page: https://npm.io/package/emperia-crypt

## Dependencies (2)

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

## Recent versions

- 1.0.0 (latest) — 2019-01-15

## README

Encryption Decryption library for Emperia

#### Node.js (Install)

Requirements:

- Node.js
- npm (Node.js package manager)

```
npm install
```

#### Run the script locally(Using command line)

##### Generate secret(Base64 encoded)

```
node aes.js --type secret
```

##### Encrypt message with secret

```
node aes.js --type encrypt --message <plain_text_message> --secret <encoded_secret>
```

##### Encrypt message with secret

```
node aes.js --type decrypt --message <encoded ciher_text> --secret <encoded_secret>
```

TODO: Modularize and publish to be easily available

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