diff options
Diffstat (limited to 'library/cryptojs/components/pad-iso10126-min.js')
-rw-r--r-- | library/cryptojs/components/pad-iso10126-min.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/library/cryptojs/components/pad-iso10126-min.js b/library/cryptojs/components/pad-iso10126-min.js new file mode 100644 index 000000000..adef4b34d --- /dev/null +++ b/library/cryptojs/components/pad-iso10126-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.Iso10126={pad:function(a,c){var b=4*c,b=b-a.sigBytes%b;a.concat(CryptoJS.lib.WordArray.random(b-1)).concat(CryptoJS.lib.WordArray.create([b<<24],1))},unpad:function(a){a.sigBytes-=a.words[a.sigBytes-1>>>2]&255}}; |