UNPKG

dojox

Version:

Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.

10 lines (8 loc) 255 B
define(["./_sha-32", "./_sha2"], function(sha32, sha2){ // The 256-bit implementation of SHA-2 var hash = [ 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19 ]; return sha2(sha32, 256, 512, hash); });