adding sjcl lib, compiled with ALL features (specifically cbc) and enabling cbc in turtl.js
removing CBC PKCS padding auth since doing so makes it compatible with AnsiX923 padding
adding in rebuilt SJCL lib, and adding upgraded tcrypt library that works with sjcls native formats better (word arrays) for better perf (no encoding/decoding arrays multiple times for every operation, but also detects the old formats and acts accordingly. working well in the test bed, now its time to try it on real data...
adding AsciiX923 support to SJCLs CBC mode (only used for old auth strings, really)
adding encryption support for version 0 since its needed for stupid user auth strings.
removing convert refs.
removing redundant tostring (this was from back when we used CryptoJS)
tcrypt.threaded converted to use sjcl includes, plus adding encrypt+hash method
enable CBC in tcrypt.threaded, adding stack traces to threaded error response
implement encrypt+hash in protected threaded, implemented in note edit controller (file.toJsonAsync), update logging in _protected
adding word array support to tcrypt.encrypt, allows passing in wordarray directly so no conversion process takes place (includes prepending utf8 byte to array)
Merge branch 'master' into sjcl
removing retarded .toString()
tcrypt: fixing some versioning errors having to do with version 0 compat
fixing file (ProtectedThreaded) encryption (adding words_to_bin on ciphertext) and removing some bad console.log(s)
fixing YET ANOTHER CASE where instead of calling options.error we were just returning false, throwing off the whole continuation of an operation, in this case file uploads
Merge branch 'master' into sjcl
Merge branch 'sjcl' of github.com:turtl/js into sjcl
Merge branch 'master' into sjcl
Merge branch 'master' into sjcl