mini-effect
Preparing search index...
schema
hash
Function hash
hash
<
TInput$1
extends
string
>
(
types
:
[
|
"md4"
|
"md5"
|
"sha1"
|
"sha256"
|
"sha384"
|
"sha512"
|
"ripemd128"
|
"ripemd160"
|
"tiger128"
|
"tiger160"
|
"tiger192"
|
"crc32"
|
"crc32b"
|
"adler32"
,
...
(
|
"md4"
|
"md5"
|
"sha1"
|
"sha256"
|
"sha384"
|
"sha512"
|
"ripemd128"
|
"ripemd160"
|
"tiger128"
|
"tiger160"
|
"tiger192"
|
"crc32"
|
"crc32b"
|
"adler32"
)
[]
,
]
,
)
:
HashAction
<
TInput$1
,
undefined
>
Creates a
hash
validation action.
Type Parameters
TInput$1
extends
string
Parameters
types
:
[
|
"md4"
|
"md5"
|
"sha1"
|
"sha256"
|
"sha384"
|
"sha512"
|
"ripemd128"
|
"ripemd160"
|
"tiger128"
|
"tiger160"
|
"tiger192"
|
"crc32"
|
"crc32b"
|
"adler32"
,
...
(
|
"md4"
|
"md5"
|
"sha1"
|
"sha256"
|
"sha384"
|
"sha512"
|
"ripemd128"
|
"ripemd160"
|
"tiger128"
|
"tiger160"
|
"tiger192"
|
"crc32"
|
"crc32b"
|
"adler32"
)
[]
,
]
The hash types.
Returns
HashAction
<
TInput$1
,
undefined
>
A hash action.
hash
<
TInput$1
extends
string
,
const
TMessage
extends
ErrorMessage
<
HashIssue
<
TInput$1
>
>
|
undefined
,
>
(
types
:
[
|
"md4"
|
"md5"
|
"sha1"
|
"sha256"
|
"sha384"
|
"sha512"
|
"ripemd128"
|
"ripemd160"
|
"tiger128"
|
"tiger160"
|
"tiger192"
|
"crc32"
|
"crc32b"
|
"adler32"
,
...
(
|
"md4"
|
"md5"
|
"sha1"
|
"sha256"
|
"sha384"
|
"sha512"
|
"ripemd128"
|
"ripemd160"
|
"tiger128"
|
"tiger160"
|
"tiger192"
|
"crc32"
|
"crc32b"
|
"adler32"
)
[]
,
]
,
message
:
TMessage
,
)
:
HashAction
<
TInput$1
,
TMessage
>
Creates a
hash
validation action.
Type Parameters
TInput$1
extends
string
const
TMessage
extends
ErrorMessage
<
HashIssue
<
TInput$1
>
>
|
undefined
Parameters
types
:
[
|
"md4"
|
"md5"
|
"sha1"
|
"sha256"
|
"sha384"
|
"sha512"
|
"ripemd128"
|
"ripemd160"
|
"tiger128"
|
"tiger160"
|
"tiger192"
|
"crc32"
|
"crc32b"
|
"adler32"
,
...
(
|
"md4"
|
"md5"
|
"sha1"
|
"sha256"
|
"sha384"
|
"sha512"
|
"ripemd128"
|
"ripemd160"
|
"tiger128"
|
"tiger160"
|
"tiger192"
|
"crc32"
|
"crc32b"
|
"adler32"
)
[]
,
]
The hash types.
message
:
TMessage
The error message.
Returns
HashAction
<
TInput$1
,
TMessage
>
A hash action.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
mini-effect
Loading...
Creates a hash validation action.