Package org.bouncycastle.crypto.digests
Class HarakaBase
- java.lang.Object
-
- org.bouncycastle.crypto.digests.HarakaBase
-
- All Implemented Interfaces:
Digest
- Direct Known Subclasses:
Haraka256Digest
,Haraka512Digest
public abstract class HarakaBase extends java.lang.Object implements Digest
Base class for Haraka v2, https://eprint.iacr.org/2016/098.pdf
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
DIGEST_SIZE
-
Constructor Summary
Constructors Constructor Description HarakaBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDigestSize()
return the size, in bytes, of the digest produced by this message digest.
-
-
-
Field Detail
-
DIGEST_SIZE
protected static final int DIGEST_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDigestSize
public int getDigestSize()
Description copied from interface:Digest
return the size, in bytes, of the digest produced by this message digest.- Specified by:
getDigestSize
in interfaceDigest
- Returns:
- the size, in bytes, of the digest produced by this message digest.
-
-