Skip to content

Commit

Permalink
fix util problem
Browse files Browse the repository at this point in the history
  • Loading branch information
maraoz authored and MattFaus committed Mar 21, 2014
1 parent 230420f commit 1c1bb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit 1c1bb06

Please sign in to comment.