|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iaik.security.md.RawHash
This class makes the compression function of a hash algorithm accessible. For example the FIP 186 pseudo random generator uses this class to access the compression function.
Constructor Summary | |
RawHash(iaik.security.md.AbstractMessageDigest delegate)
Create a new raw hash function that provides the compression function of the given complete hash function. |
Method Summary | |
Object |
clone()
Create a clone of this object which has the same internal states. |
byte[] |
compress(byte[] input)
Apply the compression function to given input block. |
int |
getBlockSize()
Get the input blocksize of this hash function in bytes. |
int |
getDigetLegnth()
Get the output length of this hash in bytes. |
void |
reset()
Reset this hash function. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RawHash(iaik.security.md.AbstractMessageDigest delegate)
delegate
- The underlying complete hash function which provides
the compression function.Method Detail |
public byte[] compress(byte[] input)
input
- The input block to feed into the compression.getBlockSize()
,
reset()
public void reset()
public int getBlockSize()
public int getDigetLegnth()
public Object clone()
clone
in class Object
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |