diff --git a/frontend/delta/js/Clipperz/Crypto/AES.js b/frontend/delta/js/Clipperz/Crypto/AES.js index 8f9ee92..6fda601 100644 --- a/frontend/delta/js/Clipperz/Crypto/AES.js +++ b/frontend/delta/js/Clipperz/Crypto/AES.js @@ -21,6 +21,8 @@ refer to http://www.clipperz.com. */ +"use strict"; + try { if (typeof(Clipperz.ByteArray) == 'undefined') { throw ""; }} catch (e) { throw "Clipperz.Crypto.AES depends on Clipperz.ByteArray!"; } diff --git a/frontend/delta/js/Clipperz/Crypto/AES_2.js b/frontend/delta/js/Clipperz/Crypto/AES_2.js index b072028..c361af2 100644 --- a/frontend/delta/js/Clipperz/Crypto/AES_2.js +++ b/frontend/delta/js/Clipperz/Crypto/AES_2.js @@ -21,6 +21,8 @@ refer to http://www.clipperz.com. */ +"use strict"; + try { if (typeof(Clipperz.ByteArray) == 'undefined') { throw ""; }} catch (e) { throw "Clipperz.Crypto.AES_2 depends on Clipperz.ByteArray!"; } @@ -804,10 +806,11 @@ MochiKit.Base.update(Clipperz.Crypto.AES_2, { //----------------------------------------------------------------------------- 'deferredDecrypt': function(aKey, someData) { - var deferredResult - var nonce; - var message; - var key; + var deferredResult + var nonce; + var message; + var key; + var executionContext; key = new Clipperz.Crypto.AES_2.Key({key:aKey}); nonce = someData.split(0, (128/8));