Preparing search index...
The search index is not available
XYO Platform SDK - v3.6.9
XYO Platform SDK
@xyo-network/account
Elliptic
Class Elliptic
Index
Constructors
constructor
Properties
_secp256k1
wasm
Support
Methods
address
From
Public
Key
initialize
public
Key
From
Private
Key
ready
secp256k1
sign
verify
Constructors
constructor
new
Elliptic
()
:
Elliptic
Returns
Elliptic
Properties
Protected
Static
_secp256k1
_secp256k1
:
undefined
|
Secp256k1
Static
Readonly
wasm
Support
wasmSupport
:
WasmSupport
= wasmSupportStatic
Methods
Static
address
From
Public
Key
addressFromPublicKey
(
key
:
ArrayBufferLike
)
:
ArrayBufferLike
Parameters
key
:
ArrayBufferLike
Returns
ArrayBufferLike
Static
initialize
initialize
()
:
Promise
<
Secp256k1
>
Returns
Promise
<
Secp256k1
>
Static
public
Key
From
Private
Key
publicKeyFromPrivateKey
(
privateKey
:
ArrayBufferLike
,
prefix
?:
boolean
,
)
:
Promise
<
ArrayBufferLike
>
Parameters
privateKey
:
ArrayBufferLike
prefix
:
boolean
= false
Returns
Promise
<
ArrayBufferLike
>
Static
ready
ready
()
:
boolean
Returns
boolean
Static
secp256k1
secp256k1
()
:
Promise
<
Secp256k1
>
Returns
Promise
<
Secp256k1
>
Static
sign
sign
(
hash
:
ArrayBufferLike
,
key
:
ArrayBufferLike
)
:
Promise
<
ArrayBufferLike
>
Parameters
hash
:
ArrayBufferLike
key
:
ArrayBufferLike
Returns
Promise
<
ArrayBufferLike
>
Static
verify
verify
(
msg
:
ArrayBufferLike
,
signature
:
ArrayBufferLike
,
address
:
ArrayBufferLike
,
)
:
Promise
<
boolean
>
Parameters
msg
:
ArrayBufferLike
signature
:
ArrayBufferLike
address
:
ArrayBufferLike
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_secp256k1
wasm
Support
Methods
address
From
Public
Key
initialize
public
Key
From
Private
Key
ready
secp256k1
sign
verify
XYO Platform SDK - v3.6.9
Loading...