|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.digests.HarakaBase
org.bouncycastle.crypto.digests.Haraka256Digest
Haraka-256 v2, https://eprint.iacr.org/2016/098.pdf
Haraka256-256 with reference to Python Reference Impl from: https://github.com/kste/haraka
Field Summary |
Fields inherited from class org.bouncycastle.crypto.digests.HarakaBase |
DIGEST_SIZE |
Constructor Summary | |
Haraka256Digest()
|
|
Haraka256Digest(CryptoServicePurpose purpose)
|
|
Haraka256Digest(Haraka256Digest digest)
|
Method Summary | |
int |
doFinal(byte[] out,
int outOff)
close the digest, producing the final digest value. |
java.lang.String |
getAlgorithmName()
return the algorithm name |
void |
reset()
reset the digest back to it's initial state. |
void |
update(byte in)
update the message digest with a single byte. |
void |
update(byte[] in,
int inOff,
int len)
update the message digest with a block of bytes. |
Methods inherited from class org.bouncycastle.crypto.digests.HarakaBase |
getDigestSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Haraka256Digest()
public Haraka256Digest(CryptoServicePurpose purpose)
public Haraka256Digest(Haraka256Digest digest)
Method Detail |
public java.lang.String getAlgorithmName()
Digest
public void update(byte in)
Digest
in
- the input byte to be entered.public void update(byte[] in, int inOff, int len)
Digest
in
- the byte array containing the data.inOff
- the offset into the byte array where the data starts.len
- the length of the data.public int doFinal(byte[] out, int outOff)
Digest
out
- the array the digest is to be copied into.outOff
- the offset into the out array the digest is to start at.public void reset()
Digest
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |