0.1.6 • Published 2 years ago

aes-encryption-unlimited v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Contributors Forks Stargazers Issues MIT License LinkedIn

About Project

This is fully secure AES Encryption function. This is specially you can use unlimited length key and create unlimited length of string value. You can encrypt Json array also. It's have default key value and you can change own key value.

Features

  • AES-unlimited encryption without key
  • AES-unlimited decryption without key
  • AES-unlimited encryption with key
  • AES-unlimited decryption with key

Built With

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

Installation is done using the npm install command:

Using npm:

$ npm i aes-encryption-unlimited

Using yarn:

$ yarn add aes-encryption-unlimited

Usage

import AesEncryption from "aes-encryption-unlimited";


//WithoutKey
const encrypted = AesEncryption.encrypt("abc")}
const decrypted = AesEncryption.decrypt("U2FsdGVkX1+FGzP1ArvVkbieWzCb7KVNDFbSM079+N4=")

console.log('encrypted >>>>>>', encrypted)
console.log('decrypted >>>>>>', decrypted)

//WithKey
// Note: secretKey can be unlimited letters
const encrypted = AesEncryption.encrypt("abc","passKey")}
const decrypted = AesEncryption.decrypt("U2FsdGVkX1+y7iF88r8Oohony7VDFCzmvmP3t9cns7w=","passKey")

console.log('encrypted >>>>>>', encrypted)
console.log('decrypted >>>>>>', decrypted)

//inner html
 <p>{AesEncryption.encrypt("abc")}</p>
 <p>{AesEncryption.decrypt("U2FsdGVkX1+FGzP1ArvVkbieWzCb7KVNDFbSM079+N4=")}</p>
 

Browser Support

Native support

  • Chrome
  • Safari
  • FireFox

License

MIT

Developed by Karunaaharan Bavaram

Copyright

Copyright (c) 2022 Karunaaharan Bavaram, contributors. Released under the MIT, GPL licenses

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago