Braydon Fuller
|
c0bbf96dc1
|
Keys: Added toObject method and changed toJSON to return a string
|
10 years ago |
Braydon Fuller
|
4ddf3d117c
|
Keys: Modified and added standardized toJSON/fromJSON prototypes
|
10 years ago |
Braydon Fuller
|
d4d3d4ab4a
|
PrivateKey: Add documentation and refactor to use network object as a parameter.
|
10 years ago |
Esteban Ordano
|
f8397a617e
|
Add option to create private key from hex
|
10 years ago |
Esteban Ordano
|
baf6a24d23
|
Add ".publicKey" property to PrivateKey
|
10 years ago |
Braydon Fuller
|
4ba53fcb92
|
Tests: Check that PrivateKey is using the defaultNetwork
|
10 years ago |
Braydon Fuller
|
4adf1fcb14
|
Network: Replaced all instances of mainnet with livenet for consistency
|
10 years ago |
Braydon Fuller
|
3298a01498
|
Immutable Address, PublicKey and PrivateKey
|
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
|
a45dee3a4b
|
'hide' encoding and crypto
|
10 years ago |
Manuel Araoz
|
3ac26759e4
|
fix tests for privkey
|
10 years ago |
Ryan X. Charles
|
d6e3266179
|
toJSON/fromJSON for privkey, pubkey, keypair
|
10 years ago |
Ryan X. Charles
|
6f56c8d1fc
|
convenience: new Privkey(bn)
|
10 years ago |
Ryan X. Charles
|
bdb8daaf07
|
remove redundant "test." from test names
|
11 years ago |
Ryan X. Charles
|
40e8dfec06
|
compressed by default with fromRandom
|
11 years ago |
Ryan X. Charles
|
c39acbcca3
|
Privkey().fromRandom()
|
11 years ago |
Ryan X. Charles
|
280578d641
|
network -> networkstr
...for compatibility with address, and to make the types obvious
|
11 years ago |
Ryan X. Charles
|
109f31cfdb
|
Privkey.prototype.set
|
11 years ago |
Ryan X. Charles
|
9cc214cf06
|
capitalize classes in tests
|
11 years ago |
Ryan X. Charles
|
a2e471ae9e
|
more consistency: n -> bn, p -> point
|
11 years ago |
Ryan X. Charles
|
c00f1ebeea
|
standardize capitalization in test describes
|
11 years ago |
Ryan X. Charles
|
3df3d41434
|
privkey
|
11 years ago |