You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
442 B
14 lines
442 B
2 years ago
|
var hash = exports;
|
||
|
hash.utils = require('./hash/utils');
|
||
|
hash.common = require('./hash/common');
|
||
|
hash.sha = require('./hash/sha');
|
||
|
hash.ripemd = require('./hash/ripemd');
|
||
|
hash.hmac = require('./hash/hmac');
|
||
|
// Proxy hash functions to the main object
|
||
|
hash.sha1 = hash.sha.sha1;
|
||
|
hash.sha256 = hash.sha.sha256;
|
||
|
hash.sha224 = hash.sha.sha224;
|
||
|
hash.sha384 = hash.sha.sha384;
|
||
|
hash.sha512 = hash.sha.sha512;
|
||
|
hash.ripemd160 = hash.ripemd.ripemd160;
|