How to use the HmacSHA3 function from crypto-js
Find comprehensive JavaScript crypto-js.HmacSHA3 code examples handpicked from public code repositorys.
GitHub: mnismt/MyHash
95 96 97 98 99 100 101 102 103 104
}, hmacsha512() { return CryptoJS.HmacSHA512(this.text, this.serect).toString(); }, hmacsha3() { return CryptoJS.HmacSHA3(this.text, this.serect).toString(); }, hmacripemd160() { return CryptoJS.HmacRIPEMD160(this.text, this.serect).toString(); },
0
1
1
+ 17 other calls in file
117 118 119 120 121 122 123 124 125 126
}; /* SHA3 hashing */ exports.SHA3 = function(text, key) { try { return typeof key !== undefined ? CryptoJS.HmacSHA3(text, key) : CryptoJS.SHA3(text); } catch (err) { throw "ERROR - utils/utilidades.js _ SHA3 method"; }
1
0
2
+ 3 other calls in file
crypto-js.AES is the most popular function in crypto-js (907 examples)