library javascript-aes
AES implementation in JavaScript
ftlmars/javascript-aes
AES implementation in JavaScript
- Friday, May 20, 2016
- by ftlmars
- Repository
- 1 Watchers
- 0 Stars
- 7 Installations
- JavaScript
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 7 Versions
- 0 % Grown
JavaScriptAES
AES implementation in JavaScript, (*1)
Usage: this implementation would be invoked as follows:, (*2)
var password = 'L0ck it up saf3';
var plaintext = 'pssst ... đon’t tell anyøne!';
var ciphertext = Aes.Ctr.encrypt(plaintext, password, 256);
var origtext = Aes.Ctr.decrypt(ciphertext, password, 256);
/**
* Encrypt a text using AES encryption in Counter mode of operation.
*
* Unicode multi-byte character safe
*
* @param {string} plaintext - Source text to be encrypted.
* @param {string} password - The password to use to generate a key for encryption.
* @param {number} nBits - Number of bits to be used in the key; 128 / 192 / 256.
* @returns {string} Encrypted text.
*
* @example
* var encr = Aes.Ctr.encrypt('big secret', 'pāşšŵōřđ', 256); // 'lwGl66VVwVObKIr6of8HVqJr'
*/
/**
* Decrypt a text encrypted by AES in counter mode of operation
*
* @param {string} ciphertext - Cipher text to be decrypted.
* @param {string} password - Password to use to generate a key for decryption.
* @param {number} nBits - Number of bits to be used in the key; 128 / 192 / 256.
* @returns {string} Decrypted text
*
* @example
* var decr = Aes.Ctr.decrypt('lwGl66VVwVObKIr6of8HVqJr', 'pāşšŵōřđ', 256); // 'big secret'
*/
Sourse http://www.movable-type.co.uk/scripts/aes.html, (*3)
dev-master
9999999-dev
AES implementation in JavaScript
Sources
Download
MIT
by
Maxym Semenykhin
dev-tmp
dev-tmp
AES implementation in JavaScript
Sources
Download
MIT
by
Maxym Semenykhin
1.1.3
1.1.3.0
AES implementation in JavaScript
Sources
Download
MIT
by
Maxym Semenykhin
1.1.2
1.1.2.0
AES implementation in JavaScript
Sources
Download
MIT
by
Maxym Semenykhin
1.1.1
1.1.1.0
AES implementation in JavaScript
Sources
Download
MIT
by
Maxym Semenykhin
1.1.0
1.1.0.0
AES implementation in JavaScript
Sources
Download
MIT
by
Maxym Semenykhin
1
1.0.0.0
AES implementation in JavaScript
Sources
Download
MIT
by
Maxym Semenykhin