Polkadot Apps
Preparing search index...
@polkadot-apps/crypto
nacl
Interface nacl
interface
nacl
{
box
:
box
;
hash
:
hash
;
scalarMult
:
scalarMult
;
secretbox
:
secretbox
;
sign
:
sign
;
randomBytes
(
n
:
number
)
:
Uint8Array
;
setPRNG
(
fn
:
(
x
:
Uint8Array
,
n
:
number
)
=>
void
)
:
void
;
verify
(
x
:
Uint8Array
,
y
:
Uint8Array
)
:
boolean
;
}
Index
Properties
box
hash
scalar
Mult
secretbox
sign
Methods
random
Bytes
set
PRNG
verify
Properties
box
box
:
box
hash
hash
:
hash
scalar
Mult
scalarMult
:
scalarMult
secretbox
secretbox
:
secretbox
sign
sign
:
sign
Methods
random
Bytes
randomBytes
(
n
:
number
)
:
Uint8Array
Parameters
n
:
number
Returns
Uint8Array
set
PRNG
setPRNG
(
fn
:
(
x
:
Uint8Array
,
n
:
number
)
=>
void
)
:
void
Parameters
fn
:
(
x
:
Uint8Array
,
n
:
number
)
=>
void
Returns
void
verify
verify
(
x
:
Uint8Array
,
y
:
Uint8Array
)
:
boolean
Parameters
x
:
Uint8Array
y
:
Uint8Array
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
box
hash
scalar
Mult
secretbox
sign
Methods
random
Bytes
set
PRNG
verify
Polkadot Apps
Loading...