Skip to content

Commit

Permalink
don't subtract defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseshiftleft committed Feb 29, 2012
1 parent c2ef62e commit 81c6355
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion core/convenience.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
/* do the encryption */
p.ct = sjcl.mode[p.mode].encrypt(prp, plaintext, p.iv, adata, p.ts);

return j.encode(j._subtract(p, j.defaults));
//return j.encode(j._subtract(p, j.defaults));
return j.encode(p);
},

/** Simple decryption function.
Expand Down
12 changes: 6 additions & 6 deletions sjcl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 81c6355

Please sign in to comment.