if true, the pubkey will be in compressed format, begin with '02' or '03'. if false, begin with '04'
Hash digest byte size.
Elliptic Curve instance
Algorithm used for encryption.
Hash Algorithm used for kdf.
Initialized Vector
Key input and out put format.
key pair from ec instance
encrypt a message with given public key and initialized vector
encrypt a message with given public key and initialized vector
hex string of public key
byte buffer of message
byte length of kdf's output.
generate random key pair
get key pair in use
= {pri, pub} all in hex coding.
set key pair with private key
private key in hex coding.
Generated using TypeDoc
for curve name, go https://github.com/indutny/elliptic for reference