☰
@nfen/webcrypto-ts
Version 0.1.13
Exports
. .
IV
Salt
UUID
Functions
generate
?
Namespace
random
.
Salt
source
·
[
−
]
Expand description
Salts
Functions
source
generate
source
(
length
?:
number
)
:
Promise
<
Uint8Array
>
Generate a salt. Defaults to 16 bytes.
example
const
salt
=
await
Random
.
Salt
.
generate
();
Parameters
length:
number
= 16
Returns
Promise
<
Uint8Array
>