|
Bouncy Castle Cryptography Library 1.65 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.crypto.digests.KeccakDigest | +--org.bouncycastle.crypto.digests.SHAKEDigest | +--org.bouncycastle.crypto.digests.CSHAKEDigest
Customizable SHAKE function.
Fields inherited from class org.bouncycastle.crypto.digests.KeccakDigest |
bitsInQueue, dataQueue, fixedOutputLength, rate, squeezing, state |
Constructor Summary | |
CSHAKEDigest(int bitLength,
byte[] N,
byte[] S)
Base constructor. |
Method Summary | |
int |
doOutput(byte[] out,
int outOff,
int outLen)
Start outputting the results of the final calculation for this digest. |
void |
reset()
reset the digest back to it's initial state. |
Methods inherited from class org.bouncycastle.crypto.digests.SHAKEDigest |
doFinal, doFinal, doFinal, doFinal, getAlgorithmName |
Methods inherited from class org.bouncycastle.crypto.digests.KeccakDigest |
absorb, absorbBits, getByteLength, getDigestSize, squeeze, update, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.bouncycastle.crypto.ExtendedDigest |
getByteLength |
Methods inherited from interface org.bouncycastle.crypto.Digest |
getDigestSize, update, update |
Constructor Detail |
public CSHAKEDigest(int bitLength, byte[] N, byte[] S)
bitLength
- bit length of the underlying SHAKE function, 128 or 256.N
- the function name string, note this is reserved for use by NIST. Avoid using it if not required.S
- the customization string - available for local use.Method Detail |
public int doOutput(byte[] out, int outOff, int outLen)
Xof
doOutput
in class SHAKEDigest
org.bouncycastle.crypto.Xof
out
- output array to write the output bytes to.outOff
- offset to start writing the bytes at.outLen
- the number of output bytes requested.public void reset()
Digest
reset
in class KeccakDigest
|
Bouncy Castle Cryptography Library 1.65 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |