Crypto CLI
Preparing search index...
program/sign
Signer
Interface Signer
Sign and verify with one algorithm; keys and signatures are hex.
interface
Signer
{
sign
:
(
privateKey
:
string
,
message
:
Uint8Array
)
=>
string
;
verify
:
(
publicKey
:
string
,
message
:
Uint8Array
,
signature
:
string
,
)
=>
boolean
;
}
Index
Properties
sign
verify
Properties
sign
sign
:
(
privateKey
:
string
,
message
:
Uint8Array
)
=>
string
verify
verify
:
(
publicKey
:
string
,
message
:
Uint8Array
,
signature
:
string
)
=>
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
sign
verify
Crypto CLI
Loading...
Sign and verify with one algorithm; keys and signatures are hex.