aboutsummaryrefslogtreecommitdiffstats
path: root/library/cryptojs/components/mode-cfb-min.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/cryptojs/components/mode-cfb-min.js')
-rw-r--r--library/cryptojs/components/mode-cfb-min.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/cryptojs/components/mode-cfb-min.js b/library/cryptojs/components/mode-cfb-min.js
new file mode 100644
index 000000000..da0da2143
--- /dev/null
+++ b/library/cryptojs/components/mode-cfb-min.js
@@ -0,0 +1,7 @@
+/*
+CryptoJS v3.1.2
+code.google.com/p/crypto-js
+(c) 2009-2013 by Jeff Mott. All rights reserved.
+code.google.com/p/crypto-js/wiki/License
+*/
+CryptoJS.mode.CFB=function(){function g(c,b,e,a){var d=this._iv;d?(d=d.slice(0),this._iv=void 0):d=this._prevBlock;a.encryptBlock(d,0);for(a=0;a<e;a++)c[b+a]^=d[a]}var f=CryptoJS.lib.BlockCipherMode.extend();f.Encryptor=f.extend({processBlock:function(c,b){var e=this._cipher,a=e.blockSize;g.call(this,c,b,a,e);this._prevBlock=c.slice(b,b+a)}});f.Decryptor=f.extend({processBlock:function(c,b){var e=this._cipher,a=e.blockSize,d=c.slice(b,b+a);g.call(this,c,b,a,e);this._prevBlock=d}});return f}();