README.md in sjcl-0.0.1 vs README.md in sjcl-1.0.0

- old
+ new

@@ -1,27 +1,37 @@ ## SJCL_rb [![Build Status](https://secure.travis-ci.org/mdp/sjcl_rb.png)](http://travis-ci.org/mdp/sjcl_rb) A Ruby gem to interop with SJCL in AES-CCM mode. -Defaults to 256 bit AES in CCM mode with 10_000 iteration PBKDF2 +Defaults to 256 bit AES in CCM mode with 100_000 iterations PBKDF2 ### Install gem install sjcl ### Usage enc = SJCL.encrypt('password', "Something to encrypt") dec = SJCL.decrypt('password', enc) -### Dev Notes + # Custom number of PBKDF2 iterations + enc = SJCL.encrypt('password', "Something to encrypt", {:iter => 10_000}) -This is a very naive implementation of SJCL's AES library in ruby. -It's not been optimized for performance and instead tries to be a very -close approximation of SJCL in terms of code and organization. +### Usage + dec = SJCL.decrypt('password', enc) + +### Dev Goals + +- Should be 100% compatible with SJCL Javascript library in AES-CCM mode +- Should not be dependent upon OpenSSL having been compiles with AES-CCM-256 support (May be slower) + ### TODO -- More modes - Test interop with node module directly -- Test more scenarios + +### Changelog + +- 1.0.0 + - Update to use OpenSSL PBKDF2 function for increased speed + - Increase default iterations to 100,000