aboutsummaryrefslogtreecommitdiffstats
path: root/library/cryptojs/components/pad-zeropadding-min.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/cryptojs/components/pad-zeropadding-min.js')
-rw-r--r--library/cryptojs/components/pad-zeropadding-min.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/cryptojs/components/pad-zeropadding-min.js b/library/cryptojs/components/pad-zeropadding-min.js
new file mode 100644
index 000000000..18f43efca
--- /dev/null
+++ b/library/cryptojs/components/pad-zeropadding-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.pad.ZeroPadding={pad:function(a,c){var b=4*c;a.clamp();a.sigBytes+=b-(a.sigBytes%b||b)},unpad:function(a){for(var c=a.words,b=a.sigBytes-1;!(c[b>>>2]>>>24-8*(b%4)&255);)b--;a.sigBytes=b+1}};