aes-encryption-unlimited

0.1.6 • Public • Published

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

aes-encryption-unlimited

Unlimited String AES encryption and decryption with key
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About Project
  2. Features
  3. Built With
  4. Installation
  5. Usages
  6. Browser Support
  7. License

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.

(back to top)

Features

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

(back to top)

Built With

(back to top)

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

(back to top)

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>
 

(back to top)

Browser Support

Native support

  • Chrome
  • Safari
  • FireFox

(back to top)

License

MIT

Developed by Karunaaharan Bavaram

(back to top)

Copyright

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

(back to top)

Package Sidebar

Install

npm i aes-encryption-unlimited

Weekly Downloads

6

Version

0.1.6

License

MIT

Unpacked Size

31.8 kB

Total Files

4

Last publish

Collaborators

  • bavaram