2.0.2 • Published 1 year ago

@coxy/aes-256 v2.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

AES-256

Install

npm install @coxy/aes-256

Create

import { Aes256 } from '@coxy/aes-256';

... or using CommonJS syntax:

const { Aes256 } = require('@coxy/aes-256');
const aes = new Aes256('salt', Buffer.from('52f12fd38a0a96408f0ec69bec771eb9', 'hex'));

const data = aes.decrypt('test', 'password')

const result = aes.encrypt(data, 'password')

console.log(result) // test
2.0.2

1 year ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago