Added BIP32 support

This commit is contained in:
vub 2013-11-18 23:47:56 -05:00
parent aa22b9d89e
commit 5e2a9f0c26
16 changed files with 546 additions and 313 deletions

View file

@ -51,7 +51,7 @@ module.exports.base64ToBytes = function(base64) {
// Hex only (allowing bin would be potentially risky, as 01010101 = \x01 * 4 or 85)
module.exports.coerceToBytes = function(input) {
if (typeof input == "string") return Crypto.util.hexToBytes(input);
if (typeof input == "string") return module.exports.hexToBytes(input);
return input;
}