1.2.1 • Published 4 years ago

aes-blowfish-nodejs v1.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

AES BlowFish NodeJS

version Encrypting data in JavaScript

Installaion

npm i aes-blowfish-nodejs

Usage

let AESblowFish = require('aes-blowfish-nodejs');

# Encryption
let cipherText = AESblowFish.encrypt(payload,"CryptoJS-AES-Key","BlowFish-Key");

# Decryption
let decryptedData = AESblowFish.decrypt(cipherText,"CryptoJS-AES-Key","BlowFish-Key");

Parameters

There are Two keys that are to be kept very secretive.

  • Crypto-JS AES KEY : The key can be a string of your choice, like some sort of a secret phrase.

  • BlowFish KEY : This key should have a length of 32-bits to 448 bits, and it can contain phrase of your choice but in HEXA-DECIMAL.

  • Encryption Input : JSON Object or a string that you need to encrypt.

  • Decryption Input : CipherText that needs to be decrypted.

Security Issues And Concerns

Invalid key For BlowFish Encryption This error occurs when you have not followed instructions for the key assignment in BlowFish Key.

Change Log

v1.2.1 -Removed debug output v1.2.0 -Cyrpto encryption and decryption added v1.0.2 -Updated ReadMe

More Info

for more information on BlowFish : https://www.geeksforgeeks.org/blowfish-algorithm-with-examples/ for more information on Crypto-JS : https://www.npmjs.com/package/crypto-js

for any queries drop a mail at krnak526@gmail.com

© Kiran A K

1.2.1

4 years ago

1.2.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago