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