Properties
privateKey
privateKey: string
publicKey
publicKey: string
Methods
hashMessage
- hashMessage(data: string | Buffer | Uint8Array): Buffer
-
Parameters
-
data: string | Buffer | Uint8Array
Returns Buffer
recover
- recover(message: string, signature: Buffer, preFixed: boolean): String
-
Parameters
-
message: string
-
signature: Buffer
-
preFixed: boolean
Returns String
sign
- sign(data: string | Buffer | Uint8Array): Buffer
-
Parameters
-
data: string | Buffer | Uint8Array
Returns Buffer