aboutsummaryrefslogtreecommitdiffstats
path: root/library/cryptojs/components/hmac-min.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2020-08-22 22:14:29 +0200
committerMario Vavti <mario@mariovavti.com>2020-08-22 22:14:29 +0200
commit4e0fc81e5dfaad3c3ed47a02df4589f5b25a88be (patch)
treeeb8d2ffd4840b2cfa50499ac522c3cd276eb8b04 /library/cryptojs/components/hmac-min.js
parent3b865d432ff24532b4a5e6917e23fc42b0d7fcaf (diff)
downloadvolse-hubzilla-4e0fc81e5dfaad3c3ed47a02df4589f5b25a88be.tar.gz
volse-hubzilla-4e0fc81e5dfaad3c3ed47a02df4589f5b25a88be.tar.bz2
volse-hubzilla-4e0fc81e5dfaad3c3ed47a02df4589f5b25a88be.zip
move cryptojs to addon
Diffstat (limited to 'library/cryptojs/components/hmac-min.js')
-rw-r--r--library/cryptojs/components/hmac-min.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/library/cryptojs/components/hmac-min.js b/library/cryptojs/components/hmac-min.js
deleted file mode 100644
index c1a8974cd..000000000
--- a/library/cryptojs/components/hmac-min.js
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
-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
-*/
-(function(){var c=CryptoJS,k=c.enc.Utf8;c.algo.HMAC=c.lib.Base.extend({init:function(a,b){a=this._hasher=new a.init;"string"==typeof b&&(b=k.parse(b));var c=a.blockSize,e=4*c;b.sigBytes>e&&(b=a.finalize(b));b.clamp();for(var f=this._oKey=b.clone(),g=this._iKey=b.clone(),h=f.words,j=g.words,d=0;d<c;d++)h[d]^=1549556828,j[d]^=909522486;f.sigBytes=g.sigBytes=e;this.reset()},reset:function(){var a=this._hasher;a.reset();a.update(this._iKey)},update:function(a){this._hasher.update(a);return this},finalize:function(a){var b=
-this._hasher;a=b.finalize(a);b.reset();return b.finalize(this._oKey.clone().concat(a))}})})();