Preparing search index...
The search index is not available
StableLib
StableLib
@stablelib/hash
SerializableHash
Interface SerializableHash
Hash interface describes properties of cryptographic hash functions.
interface
SerializableHash
{
blockSize
:
number
;
digestLength
:
number
;
clean
(
)
:
void
;
cleanSavedState
(
savedState
:
any
)
:
void
;
digest
(
)
:
Uint8Array
;
finish
(
out
:
Uint8Array
)
:
this
;
reset
(
)
:
this
;
restoreState
(
savedState
:
any
)
:
this
;
saveState
(
)
:
any
;
update
(
data
:
Uint8Array
)
:
this
;
}
Hierarchy (
view full
)
Hash
SerializableHash
Implemented by
Index
Properties
block
Size
digest
Length
Methods
clean
clean
Saved
State
digest
finish
reset
restore
State
save
State
update
Properties
Readonly
block
Size
block
Size
:
number
Readonly
digest
Length
digest
Length
:
number
Methods
clean
clean
(
)
:
void
Returns
void
clean
Saved
State
clean
Saved
State
(
savedState
)
:
void
Parameters
savedState
:
any
Returns
void
digest
digest
(
)
:
Uint8Array
Returns
Uint8Array
finish
finish
(
out
)
:
this
Parameters
out
:
Uint8Array
Returns
this
reset
reset
(
)
:
this
Returns
this
restore
State
restore
State
(
savedState
)
:
this
Parameters
savedState
:
any
Returns
this
save
State
save
State
(
)
:
any
Returns
any
update
update
(
data
)
:
this
Parameters
data
:
Uint8Array
Returns
this
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
block
Size
digest
Length
Methods
clean
clean
Saved
State
digest
finish
reset
restore
State
save
State
update
StableLib
Loading...
Hash interface describes properties of cryptographic hash functions.