Preparing search index...
The search index is not available
Documentation
Documentation
@near-js/crypto
key_pair_base
KeyPairBase
Class KeyPairBase
Abstract
Hierarchy (
view full
)
KeyPairBase
KeyPair
KeyPairEd25519
KeyPairSecp256k1
Index
Constructors
constructor
Methods
get
Public
Key
sign
to
String
verify
Constructors
constructor
new
Key
Pair
Base
(
)
:
KeyPairBase
Returns
KeyPairBase
Methods
Abstract
get
Public
Key
get
Public
Key
(
)
:
PublicKey
Returns
PublicKey
Abstract
sign
sign
(
message
)
:
Signature
Parameters
message
:
Uint8Array
Returns
Signature
Abstract
to
String
to
String
(
)
:
KeyPairString
Returns
KeyPairString
Abstract
verify
verify
(
message
,
signature
)
:
boolean
Parameters
message
:
Uint8Array
signature
:
Uint8Array
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
get
Public
Key
sign
to
String
verify
Documentation
Loading...