@keetanetwork/keetanet-client
Preparing search index...
KeetaNetSDK
Referenced
ED25519PrivateKey
Class ED25519PrivateKey
Keys in Ed25519 and EcDSA secp256k1/secp256r1 are 256-bits long
Hierarchy (
View Summary
)
KeyStorage
ED25519PrivateKey
Index
Constructors
C
constructor
Properties
P
storage
Kind
P
is
Instance
Accessors
A
length
Methods
M
compare
M
compare
Hex
String
M
get
M
get
Buffer
M
to
Big
Int
M
to
String
Constructors
constructor
new
ED25519PrivateKey
(
key
:
string
|
bigint
|
ArrayBuffer
)
:
ED25519PrivateKey
Parameters
key
:
string
|
bigint
|
ArrayBuffer
Returns
ED25519PrivateKey
Properties
Readonly
storage
Kind
storageKind
:
string
= 'GenericBuffer'
Static
is
Instance
isInstance
:
(
obj
:
any
,
strict
?:
boolean
)
=>
obj
is
ED25519PrivateKey
= ...
Accessors
length
get
length
()
:
number
Returns
number
Methods
compare
compare
(
compareWith
:
undefined
|
null
|
ED25519PrivateKey
)
:
boolean
Parameters
compareWith
:
undefined
|
null
|
ED25519PrivateKey
Returns
boolean
compare
Hex
String
compareHexString
(
compareWith
:
undefined
|
null
|
string
|
BufferStorage
,
)
:
boolean
Parameters
compareWith
:
undefined
|
null
|
string
|
BufferStorage
Returns
boolean
get
get
()
:
ArrayBuffer
Returns
ArrayBuffer
get
Buffer
getBuffer
()
:
Buffer
Returns
Buffer
to
Big
Int
toBigInt
()
:
bigint
Returns
bigint
to
String
toString
(
encoding
?:
"base64"
|
"hex"
|
"base32"
)
:
string
Parameters
encoding
:
"base64"
|
"hex"
|
"base32"
= 'hex'
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
C
constructor
Properties
P
storage
Kind
P
is
Instance
Accessors
A
length
Methods
M
compare
M
compare
Hex
String
M
get
M
get
Buffer
M
to
Big
Int
M
to
String
@keetanetwork/keetanet-client
Loading...
Keys in Ed25519 and EcDSA secp256k1/secp256r1 are 256-bits long