public abstract class AsconMessageDigestSpi extends MessageDigestSpi
| Constructor and Description |
|---|
AsconMessageDigestSpi() |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineDigest()
Finishes the message digest computation.
|
protected int |
engineGetDigestLength()
Returns the hash length
|
protected void |
engineReset()
Resets this MessageDigest engine.
|
protected void |
engineUpdate(byte input)
Processes the given byte.
|
protected void |
engineUpdate(byte[] input,
int off,
int len)
Processes the given number of bytes, supplied in a byte array starting at
the given position
|
abstract String |
getVariant()
Returns the mode of the hash function (Ascon-Hash, Ascon-Hasha)
|
clone, engineDigest, engineUpdatepublic abstract String getVariant()
protected void engineUpdate(byte input)
engineUpdate in class MessageDigestSpiinput - the byte to be processed.protected int engineGetDigestLength()
engineGetDigestLength in class MessageDigestSpiprotected void engineUpdate(byte[] input,
int off,
int len)
engineUpdate in class MessageDigestSpiinput - the byte array holding the data to be processedoff - the offset indicating the start position within the input byte
arraylen - the number of bytes to be processedprotected byte[] engineDigest()
engineDigest in class MessageDigestSpiprotected void engineReset()
engineReset in class MessageDigestSpiCopyright © 2022–2023 Stiftung SIC. All rights reserved.