0.3.2 • Published 8 years ago
encrypton v0.3.2
Encrypton
Customized personal encryptor based on Encrypter
##Installation
This source code is available on Github. However, you can also access the application using npm. To install the application please follow the following command under you project directory
npm install encrypton
##Usage
###Initialization To use this encryptor you have to import the package into your source code then construct object instance as you need. You can achieve this by following these commands
var Encrypton = require('encrypton'); // Import encrypton package
var encrypton = Encrypton(key); // Instantiate instance
// Using hashkey as given
###Encryption and Decryption Using this encryptor has been faitly simple. You just have to put in plain text for encryption and encrypted test for decryption. The encrypton will take care of everything else for you and output the corresponding text.
var encrypted = encrypton.encrypt("alphabetagamma");
var decrypted = encrypton.decrypt("*Anything that has been encrypted by Encrypton*");
##License Encrypton is licnesed under MIT license