lib/sjcl.rb in sjcl-1.0.0 vs lib/sjcl.rb in sjcl-1.0.1
- old
+ new
@@ -10,10 +10,10 @@
require 'base64'
module SJCL
DEFAULT = {
- iter:100_000, ks:256, ts:64,
+ v:1, 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)