Properties
privateKey
privateKey: Buffer
publicKey
publicKey: Buffer
Static Private COMPACT
COMPACT: number = 27
Static Private COMPRESSED
COMPRESSED: number = 4
Static Private VERSION
VERSION: number = 128
Methods
secret
- secret(recipient: Address, nonce: Long): Buffer
-
Parameters
Returns Buffer
sign
- sign(data: Buffer): string | undefined
-
Parameters
Returns string
|
undefined
Static checkCanonicalSignature
- checkCanonicalSignature(sigData: Buffer): boolean
-
Parameters
Returns boolean
Static generateFromPhrase
-
Parameters
-
-
Default value sequence: number = 0
the public key is always in a compressed format in DCore