fix util problem

This commit is contained in:
Manuel Araoz 2014-03-21 14:23:38 -03:00 committed by MattFaus
parent 230420fb00
commit 1c1bb068b8
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ var ripe160 = exports.ripe160 = function(data) {
throw new Error('arg should be a buffer');
}
if (inBrowser) {
var w = new browser.crypto31.lib.WordArray.init(browser.Crypto.util.bytesToWords(data), data.length);
var w = new browser.crypto31.lib.WordArray.init(Crypto.util.bytesToWords(data), data.length);
var wordArray = browser.crypto31.RIPEMD160(w);
var words = wordArray.words;
var answer = [];