public class SHAReverseInterleave extends MessageDigestSpi
| Constructor and Description |
|---|
SHAReverseInterleave()
Creates a new instance of SHAReverseInterleave
|
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineDigest()
Completes the digest computation by performing final
operations such as padding.
|
protected int |
engineGetDigestLength() |
protected void |
engineReset()
Resets the digest for further use.
|
protected void |
engineUpdate(byte input)
Updates the digest using the specified byte.
|
protected void |
engineUpdate(byte[] input,
int offset,
int len)
Updates the digest using the specified array of bytes,
starting at the specified offset.
|
clone, engineDigest, engineUpdatepublic SHAReverseInterleave()
ProviderException - thrown if MessageDigest.getInstance("SHA")
throws a NoSuchAlgorithmException.protected int engineGetDigestLength()
engineGetDigestLength in class MessageDigestSpiprotected byte[] engineDigest()
engineDigest has
been called, the engine should be reset (see
engineReset).
Resetting is the responsibility of the
engine implementor.engineDigest in class MessageDigestSpiprotected void engineReset()
engineReset in class MessageDigestSpiprotected void engineUpdate(byte input)
engineUpdate in class MessageDigestSpiinput - the byte to use for the update.protected void engineUpdate(byte[] input,
int offset,
int len)
engineUpdate in class MessageDigestSpiinput - the array of bytes to use for the update.offset - the offset to start from in the array of bytes.len - the input of bytes to use, starting at
offset.Copyright © 2016 JBoss by Red Hat. All rights reserved.