Preparing search index...
The search index is not available
StableLib
StableLib
@stablelib/blake2s
BLAKE2s
Class BLAKE2s
BLAKE2s hash function.
Implements
SerializableHash
Index
Constructors
constructor
Properties
block
Size
digest
Length
Methods
clean
clean
Saved
State
digest
finish
reset
restore
State
save
State
update
validate
Config
Constructors
constructor
new BLAKE2s
(
digestLength
?
,
config
?
)
:
BLAKE2s
Parameters
digestLength
:
number
= 32
Optional
config
:
Config
Returns
BLAKE2s
Properties
Readonly
block
Size
block
Size
:
64
= BLOCK_SIZE
digest
Length
digest
Length
:
number
= 32
Methods
clean
clean
(
)
:
void
Returns
void
clean
Saved
State
clean
Saved
State
(
savedState
)
:
void
Parameters
savedState
:
SavedState
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
:
SavedState
Returns
this
save
State
save
State
(
)
:
SavedState
Returns
SavedState
update
update
(
data
,
dataLength
?
)
:
this
Parameters
data
:
Uint8Array
dataLength
:
number
= data.length
Returns
this
validate
Config
validate
Config
(
config
)
:
void
Parameters
config
:
Config
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
block
Size
digest
Length
Methods
clean
clean
Saved
State
digest
finish
reset
restore
State
save
State
update
validate
Config
StableLib
Loading...
BLAKE2s hash function.