Crypto Lib
Preparing search index...
modern/hash
HashOptions
Interface HashOptions
Options for computing a cryptographic hash.
interface
HashOptions
{
algorithm
:
|
"sha256"
|
"sha384"
|
"sha512"
|
"sha3-256"
|
"sha3-512"
|
"blake2b"
|
"blake3"
;
data
:
string
|
Uint8Array
<
ArrayBufferLike
>
;
}
Index
Properties
algorithm
data
Properties
algorithm
algorithm
:
|
"sha256"
|
"sha384"
|
"sha512"
|
"sha3-256"
|
"sha3-512"
|
"blake2b"
|
"blake3"
Algorithm to use.
data
data
:
string
|
Uint8Array
<
ArrayBufferLike
>
Data to hash (UTF-8 string or bytes).
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
algorithm
data
Crypto Lib
Loading...
Options for computing a cryptographic hash.