aes-blowfish-nodejs
v1.2.1
Published
Encrypting data in JavaScript
Downloads
5
Readme
AES BlowFish NodeJS
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 [email protected]
© Kiran A K