Polkadot Apps
Preparing search index...
@polkadot-apps/crypto
nacl
secretbox
Interface secretbox
interface
secretbox
{
keyLength
:
number
;
nonceLength
:
number
;
overheadLength
:
number
;
open
(
box
:
Uint8Array
,
nonce
:
Uint8Array
,
key
:
Uint8Array
,
)
:
Uint8Array
<
ArrayBufferLike
>
|
null
;
(
msg
:
Uint8Array
,
nonce
:
Uint8Array
,
key
:
Uint8Array
)
:
Uint8Array
;
}
secretbox
(
msg
:
Uint8Array
,
nonce
:
Uint8Array
,
key
:
Uint8Array
)
:
Uint8Array
Parameters
msg
:
Uint8Array
nonce
:
Uint8Array
key
:
Uint8Array
Returns
Uint8Array
Index
Properties
key
Length
nonce
Length
overhead
Length
Methods
open
Properties
Readonly
key
Length
keyLength
:
number
Readonly
nonce
Length
nonceLength
:
number
Readonly
overhead
Length
overheadLength
:
number
Methods
open
open
(
box
:
Uint8Array
,
nonce
:
Uint8Array
,
key
:
Uint8Array
,
)
:
Uint8Array
<
ArrayBufferLike
>
|
null
Parameters
box
:
Uint8Array
nonce
:
Uint8Array
key
:
Uint8Array
Returns
Uint8Array
<
ArrayBufferLike
>
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
key
Length
nonce
Length
overhead
Length
Methods
open
Polkadot Apps
Loading...