lib/sjcl.rb in sjcl-0.0.1 vs lib/sjcl.rb in sjcl-1.0.0
- old
+ new
@@ -10,10 +10,10 @@
require 'base64'
module SJCL
DEFAULT = {
- v:1, iter:10000, ks:256, ts:64,
+ iter:100_000, ks:256, ts:64,
mode:"ccm", adata:"", cipher:"aes"
}
def self.decrypt(password, jsonstr)
cipher_obj = JSON.parse(jsonstr, :symbolize_names => true)