4.0.3 • Published 3 years ago

aesid v4.0.3

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

AESID

NPM Version NPM Downloads NPM License Install Size

Install

npm install aesid --save

Usage

import { AesId } from 'aesid';
const sidAes = new AesId([
    // mulit versions
    { version: 2, aes: 'old test aes key' },
    { version: 5, aes: 'new test aes key' },
  ], {
    userid: true,   // true/false/auto
  });

const sid = sidAes.encrypt('encrypt content', 'userid');
const content = sidAes.decrypt(sid, 'userid');

Upgrade

3.x => 4.x

  • export AesId class
  • remove is func
4.0.3

3 years ago

4.0.1

4 years ago

4.0.0

4 years ago

4.0.2

4 years ago

3.3.1

6 years ago

3.3.0

6 years ago

3.2.0

6 years ago

3.1.0

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago