Update sha256

NW.js compatibility. 

I don't know why but "module.exports" doesn't works with nw.js.
So I added 2 external variables.
pull/9/head
dobobaie 8 years ago committed by GitHub
parent b3e7b83e39
commit 5cf0347d77

@ -7,6 +7,7 @@
* @license MIT
*/
/*jslint bitwise: true */
var sha224, sha256;
(function () {
'use strict';
@ -364,6 +365,9 @@
exports.sha256 = exports;
exports.sha224 = createMethod(true);
sha224 = exports.sha224;
sha256 = exports.sha256;
if (COMMON_JS) {
module.exports = exports;
} else {

Loading…
Cancel
Save