# aes-ecb-nodejs

> aes-ecb nodejs implement for communication with others languages like java, .net.

Latest version **1.0.1** (published 2019-12-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install aes-ecb-nodejs
pnpm add aes-ecb-nodejs
yarn add aes-ecb-nodejs
bun add aes-ecb-nodejs
```

## 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.1 |
| Published | 2019-12-01 |
| First published | 2019-12-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | john |
| Maintainers | john.xie |
| Keywords | nodejs, aec, ecb |

## Links

- npm: https://www.npmjs.com/package/aes-ecb-nodejs
- Repository: https://github.com/x343734282/aes-ecb
- Homepage: https://github.com/x343734282/aes-ecb#readme
- Issues: https://github.com/x343734282/aes-ecb/issues
- npm.io page: https://npm.io/package/aes-ecb-nodejs

## Recent versions

- 1.0.1 (latest) — 2019-12-01
- 1.0.0 — 2019-12-01

## README

# aes-ecb
aes-ecb nodejs implement for communication with others languages like java, .net.

# API
encrype
aes-128-ecb
encrype.bit128(key,text,outEncoding)
aes-192-ecb
encrype.bit192(key,text,outEncoding)
aes-256-ecb
encrype.bit256(key,text,outEncoding)

decrypt
aes-128-ecb
decrypt.bit128(key,text,encryptEncoding,outEncoding)
aes-192-ecb
decrypt.bit192(key,text,encryptEncoding,outEncoding)
aes-256-ecb
decrypt.bit256(key,text,encryptEncoding,outEncoding)

# example
var aes = require('./aes-ecb.js');
var r = aes.encrypt.bit128('1111111111111111', 'abc','hex');

var dec = aes.decrypt.bit128('1111111111111111', r,'hex','utf8');

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