diff options
author | Mario Vavti <mario@mariovavti.com> | 2020-08-22 22:14:29 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2020-08-22 22:14:29 +0200 |
commit | 4e0fc81e5dfaad3c3ed47a02df4589f5b25a88be (patch) | |
tree | eb8d2ffd4840b2cfa50499ac522c3cd276eb8b04 /library/cryptojs/components/sha224.js | |
parent | 3b865d432ff24532b4a5e6917e23fc42b0d7fcaf (diff) | |
download | volse-hubzilla-4e0fc81e5dfaad3c3ed47a02df4589f5b25a88be.tar.gz volse-hubzilla-4e0fc81e5dfaad3c3ed47a02df4589f5b25a88be.tar.bz2 volse-hubzilla-4e0fc81e5dfaad3c3ed47a02df4589f5b25a88be.zip |
move cryptojs to addon
Diffstat (limited to 'library/cryptojs/components/sha224.js')
-rw-r--r-- | library/cryptojs/components/sha224.js | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/library/cryptojs/components/sha224.js b/library/cryptojs/components/sha224.js deleted file mode 100644 index 289f31d55..000000000 --- a/library/cryptojs/components/sha224.js +++ /dev/null @@ -1,66 +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 () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- var C_algo = C.algo;
- var SHA256 = C_algo.SHA256;
-
- /**
- * SHA-224 hash algorithm.
- */
- var SHA224 = C_algo.SHA224 = SHA256.extend({
- _doReset: function () {
- this._hash = new WordArray.init([
- 0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939,
- 0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4
- ]);
- },
-
- _doFinalize: function () {
- var hash = SHA256._doFinalize.call(this);
-
- hash.sigBytes -= 4;
-
- return hash;
- }
- });
-
- /**
- * Shortcut function to the hasher's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- *
- * @return {WordArray} The hash.
- *
- * @static
- *
- * @example
- *
- * var hash = CryptoJS.SHA224('message');
- * var hash = CryptoJS.SHA224(wordArray);
- */
- C.SHA224 = SHA256._createHelper(SHA224);
-
- /**
- * Shortcut function to the HMAC's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- * @param {WordArray|string} key The secret key.
- *
- * @return {WordArray} The HMAC.
- *
- * @static
- *
- * @example
- *
- * var hmac = CryptoJS.HmacSHA224(message, key);
- */
- C.HmacSHA224 = SHA256._createHmacHelper(SHA224);
-}());
|