Browse Source

Update for crypto-browserify.

patch-2
Braydon Fuller 9 years ago
parent
commit
41a4e6e19f
  1. 2
      lib/crypto/hash.js

2
lib/crypto/hash.js

@ -28,7 +28,7 @@ Hash.sha256sha256 = function(buf) {
Hash.ripemd160 = function(buf) {
$.checkArgument(BufferUtil.isBuffer(buf));
return crypto.createHash('rmd160').update(buf).digest();
return crypto.createHash('ripemd160').update(buf).digest();
};
Hash.sha256ripemd160 = function(buf) {

Loading…
Cancel
Save