Just out of curiousity, I was wondering if, when SJCL was implemented into tiddlywiki, was AES 256 chosen and adopted, or a different amount? It appears to match the provided minified code, however I wasn’t sure what level that was either
And, not completely related but, does the encrypt individual tiddlers plugin piggyback off of the normal encrypt js in tiddlywiki?
Unfortunately I can’t read JS well enough to find the answers myself, so any insight from someone who knows would be greatly appreciated.
SJCL was integrated into TiddlyWiki 5 in September 2012 in this commit. I chose SJCL because it was the most widely used and trusted open source JS cryptographic library at the time. Nowadays one might be tempted to use the new browser crypto APIs but it’s actually convenient for TW to have the same code available on the server and in the browser.