Browse Source

Added copies of Crypto.util.* tools in Bitcoin.Util namespace.

hk-custom-address
Stefan Thomas 13 years ago
parent
commit
734bd57a23
  1. 6
      src/util.js

6
src/util.js

@ -95,3 +95,9 @@ Bitcoin.Util = {
return Crypto.RIPEMD160(Crypto.SHA256(data, {asBytes: true}), {asBytes: true});
}
};
for (var i in Crypto.util) {
if (Crypto.util.hasOwnProperty(i)) {
Bitcoin.Util[i] = Crypto.util[i];
}
}

Loading…
Cancel
Save