Top Description Fields Constructors Methods
org.bouncycastle.crypto.digests

public Class AsconHash256

extends AsconBaseDigest
Class Inheritance
Imports
org.bouncycastle.util.Pack

Ascon-Hash256 was introduced in NIST Special Publication (SP) 800-232 (Initial Public Draft).

Additional details and the specification can be found in: NIST SP 800-232 (Initial Public Draft). For reference source code and implementation details, please see: Reference, highly optimized, masked C and ASM implementations of Ascon (NIST SP 800-232).

Field Summary

Inherited from org.bouncycastle.crypto.digests.AsconBaseDigest:
ASCON_HASH_RATEASCON_PB_ROUNDSCRYPTO_BYTESm_bufm_bufPosx0x1x2x3x4

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
protected long
loadBytes(final byte[] bytes, int inOff)

Implements abstract org.bouncycastle.crypto.digests.AsconBaseDigest.loadBytes.

protected long
loadBytes(final byte[] bytes, int inOff, int n)

Implements abstract org.bouncycastle.crypto.digests.AsconBaseDigest.loadBytes.

protected long
public void
reset()

Overrides org.bouncycastle.crypto.digests.AsconBaseDigest.reset.

Implements org.bouncycastle.crypto.Digest.reset.

reset the digest back to it's initial state.

protected void
setBytes(long w, byte[] bytes, int inOff)

Implements abstract org.bouncycastle.crypto.digests.AsconBaseDigest.setBytes.

protected void
setBytes(long w, byte[] bytes, int inOff, int n)

Implements abstract org.bouncycastle.crypto.digests.AsconBaseDigest.setBytes.

Inherited from org.bouncycastle.crypto.digests.AsconBaseDigest:
doFinalgetByteLengthgetDigestSizehashppadAndAbsorbsqueezeupdateupdate

Constructor Detail

AsconHash256back to summary
public AsconHash256()

Method Detail

getAlgorithmNameback to summary
public String getAlgorithmName()

Implements org.bouncycastle.crypto.Digest.getAlgorithmName.

Doc from org.bouncycastle.crypto.Digest.getAlgorithmName.

return the algorithm name

Returns:String

the algorithm name

Annotations
@Override
loadBytesback to summary
protected long loadBytes(final byte[] bytes, int inOff)

Implements abstract org.bouncycastle.crypto.digests.AsconBaseDigest.loadBytes.

loadBytesback to summary
protected long loadBytes(final byte[] bytes, int inOff, int n)

Implements abstract org.bouncycastle.crypto.digests.AsconBaseDigest.loadBytes.

padback to summary
protected long pad(int i)

Implements abstract org.bouncycastle.crypto.digests.AsconBaseDigest.pad.

resetback to summary
public void reset()

Overrides org.bouncycastle.crypto.digests.AsconBaseDigest.reset.

Implements org.bouncycastle.crypto.Digest.reset.

Doc from org.bouncycastle.crypto.Digest.reset.

reset the digest back to it's initial state.

Annotations
@Override
setBytesback to summary
protected void setBytes(long w, byte[] bytes, int inOff)

Implements abstract org.bouncycastle.crypto.digests.AsconBaseDigest.setBytes.

setBytesback to summary
protected void setBytes(long w, byte[] bytes, int inOff, int n)

Implements abstract org.bouncycastle.crypto.digests.AsconBaseDigest.setBytes.