This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
js-aes /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Mar 27 20:53:55 -0700 2009 | |
| |
MIT-LICENSE | Fri Mar 27 20:53:55 -0700 2009 | |
| |
README | Fri Mar 27 20:53:55 -0700 2009 | |
| |
aes.js | Wed Apr 15 09:06:04 -0700 2009 | |
| |
test.html | Tue Jun 02 08:22:08 -0700 2009 |
README
About ----- JS-AES is a JavaScript implementation of the Advanced Encryption Standard using Counter Mode. The best way to understand the aes.js source code is to follow along with a FIPS 197, which you can download from http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf Usage ----- After you include the aes.js file into your page, you can interact with it in the following manner: // Create two new crypto objects var aSide = new AES.Crypto(AES.generateKey()); var bSide = new AES.Crypto(aSide.key); // Sync the two cryptos bSide.setCounter(aSide.getCounter()); // Encryption var cipherText = aSide.encrypt("the quick brown fox jumped over the lazy dog"); // Decryption var plainText = bSide.decrypt(cipherText); // Compare plainText == "the quick brown fox jumped over the lazy dog"; Feedback -------- If you have any questions, comments or just want to talk shop about crypto, feel free to reach me through my website at http://www.robertsosinski.com.







