eckey
JavaScript component to handle private key and public keys associated with elliptic curve cryptography. Used with crypto currencies such as Bitcoin, Litecoin, Dogecoin, etc. Works in both Node.js and the browser.
Official documentation:
Handle private key and public keys associated with elliptic curve cryptography. Used with crypto currencies such as Bitcoin, Litecoin, Dogecoin, etc. Works in both Node.js and the browser.
JavaScript component to handle private key and public keys associated with elliptic curve cryptography. Used with crypto currencies such as Bitcoin, Litecoin, Dogecoin, etc. Works in both Node.js and the browser.
Official documentation:
secp256k1
. [#15][#15]"ecurve": "^0.8.0"
to "ecurve": "^1.0.0"
"ecurve": "^0.6.0"
to "ecurve": "^0.8.0"
terst
for assert
pubKeyHash
and alias publicHash
secure-random@~0.2.1
to secure-random@^1.0.0
dev depecurve-names
dep, functionality is now present in ecurve
ecurve@~0.3.x
to ecurve@^0.6.0
compressByDefault
compressed
is now set to true
by defaultterst
dev dep to 0.2.0
bigi@~0.2.0
to bigi@^1.1.0
compressed
when new
isn't used with the constructor. #12new
isn't used with the constructor. #11, #9Array
, Buffer
, or Uint8Array
. Does NOT randomly generate a private key anymore.publicKey
propertypubKeyHash
/publicHash
propertypublicPoint
, removed getPubPoint()
getPub()
, use publicKey
insteadgetPubKeyHash()
, use publicHash
or pubKeyHash
insteadsign()
and verify()
, methods can be accessed from ecdsaprivateExportKey
getExportedPrivateKey
, note that getExportedPrivateKey
was essentially just a way to get WIFdecodeString()
, use package coinstring in its placegetBitcoinAddress()
, use package coinstring in its placesetCompressed
, use compressed
property insteadecdsa
, convert-hex
, btc-address
, bs58
ecurve
and ecurve-names
pubKeyHash
property, removes dependency upon crypto-hashing
crypto-hashing
cryptocoin
could install. Changes in 0.2.1
could qualify for a 0.3.0
.recoverPubKey()
from package ecdsa
ecdsa
0.2.0
getExportedPrivateKey()
, see: https://github.com/cryptocoinjs/eckey/pull/2bigi
and bs58
toString()
method. Closes #1