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

This commit is contained in:
Stefan Thomas 2011-09-26 21:28:45 +01:00
parent 7715c41925
commit 734bd57a23

View file

@ -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];
}
}