Esteban Ordano
73265d9089
Refactor network.js
10 years ago
Braydon Fuller
85ce140aeb
Keys: Renamed Privkey to PrivateKey and Pubkey to PublicKey
10 years ago
Braydon Fuller
35d0cbc5a6
Keys: Modified interface of Pubkey and Privkey so that an instance can be relied upon as valid.
10 years ago
Braydon Fuller
23c1ed3599
Keys: Refactored to use Pubkey and Privkey and removed Keypair
10 years ago
Manuel Araoz
4508fb6765
fix references to encoding
10 years ago
Manuel Araoz
2bf1ed8f34
use strict to crypto
10 years ago
Ryan X. Charles
0eeba8eadb
canonical BN notation
10 years ago
Ryan X. Charles
5f21059bf8
more convenient names
10 years ago
Ryan X. Charles
eb34a16511
more convenient name
10 years ago
Ryan X. Charles
9473bdf9b0
more convenient name
10 years ago
Ryan X. Charles
bd16eddf54
Key -> Keypair
10 years ago
Ryan X. Charles
7390b15f89
add set function to bip32
10 years ago
Ryan X. Charles
0641184e84
support string input in constructor
10 years ago
Ryan X. Charles
c41419b6ef
use buffer functions
...instead of adhoc uint functions
10 years ago
Ryan X. Charles
5da964739d
remove unused base58 dependency
10 years ago
Ryan X. Charles
9e188574f7
base58check in extendedPrivateKeyString
10 years ago
Ryan X. Charles
70d9f0db93
use base58check in extendedPublicKeyString
10 years ago
Ryan X. Charles
70659ad9d4
use base58check in fromString
10 years ago
Ryan X. Charles
334c443d8b
"gc" was some find-replace error from earlier
10 years ago
Ryan X. Charles
af6932a313
console.log?
this must have been a remnant of some earlier debugging, either in bitcore2 or
in bitcore.
10 years ago
Ryan X. Charles
32fabd0c0f
Key -> Keypair
"Keypair" is a more explanatory name, and also should be less confused with
other kinds of keys (particularly "cipher keys", which are the keys used in
symmetric block ciphers, especially AES).
11 years ago
Ryan X. Charles
2ef5e2f003
network -> networkstr
11 years ago
Ryan X. Charles
109f31cfdb
Privkey.prototype.set
11 years ago
Ryan X. Charles
3919b24685
make bip32 mostly compatible with the rest of the lib
the constructor shouldn't do much. just set some varibles. in this case, i have
yet to write the code that sets the varibles. but better this than
autogenerating a new random BIP32. for that, call fromRandom()
11 years ago
Ryan X. Charles
f3dcb5bba1
typo in error message
11 years ago
Ryan X. Charles
4cff6a41f4
remove "(classname): " from tests
...to reduce the burden on writing new code
11 years ago
Ryan X. Charles
f6f7a870fb
allow creating objects without using "new"
11 years ago
Ryan X. Charles
a2e471ae9e
more consistency: n -> bn, p -> point
11 years ago
Ryan X. Charles
cc310fbc23
add bip32: to error messages
...to be consistent with the rest of the library
11 years ago
Ryan X. Charles
efbebb3528
throw error if deriving an invalid path string
...the path consists "m", numbers, /, and ' characters
11 years ago
Ryan X. Charles
7def2609ec
add toString method for bip32
...so that it is consistent with the rest of the library
11 years ago
Ryan X. Charles
be37f5e37f
improve bip32 interface slightly
11 years ago
Ryan X. Charles
9649cc58e9
bip32
code from bitcore. original implementation derived from here:
https://github.com/sarchar/brainwallet.github.com/blob/bip32/js/bip32.js
11 years ago