org.bouncycastle.crypto.Digest |
Known Indirect Subclasses
ExtendedDigest,
GOST3411Digest,
GeneralDigest,
LongDigest,
MD2Digest,
MD4Digest,
MD5Digest,
NullDigest,
RIPEMD128Digest,
RIPEMD160Digest,
RIPEMD256Digest,
RIPEMD320Digest,
SHA1Digest,
SHA224Digest,
SHA256Digest,
SHA384Digest,
SHA512Digest,
ShortenedDigest,
TigerDigest,
WhirlpoolDigest
ExtendedDigest |
|
GOST3411Digest |
implementation of GOST R 34.11-94
|
GeneralDigest |
base implementation of MD4 family style digest as outlined in
"Handbook of Applied Cryptography", pages 344 - 347. |
LongDigest |
Base class for SHA-384 and SHA-512. |
MD2Digest |
implementation of MD2
as outlined in RFC1319 by B.Kaliski from RSA Laboratories April 1992
|
MD4Digest |
implementation of MD4 as RFC 1320 by R. |
MD5Digest |
implementation of MD5 as outlined in "Handbook of Applied Cryptography", pages 346 - 347. |
NullDigest |
|
RIPEMD128Digest |
implementation of RIPEMD128
|
RIPEMD160Digest |
implementation of RIPEMD see,
http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
|
RIPEMD256Digest |
implementation of RIPEMD256. |
RIPEMD320Digest |
implementation of RIPEMD 320. |
SHA1Digest |
implementation of SHA-1 as outlined in "Handbook of Applied Cryptography", pages 346 - 349. |
SHA224Digest |
SHA-224 as described in RFC 3874
block word digest
SHA-1 512 32 160
SHA-224 512 32 224
SHA-256 512 32 256
SHA-384 1024 64 384
SHA-512 1024 64 512
|
SHA256Digest |
FIPS 180-2 implementation of SHA-256. |
SHA384Digest |
FIPS 180-2 implementation of SHA-384. |
SHA512Digest |
FIPS 180-2 implementation of SHA-512. |
ShortenedDigest |
Wrapper class that reduces the output length of a particular digest to
only the first n bytes of the digest function. |
TigerDigest |
implementation of Tiger based on:
http://www.cs.technion.ac.il/~biham/Reports/Tiger
|
WhirlpoolDigest |
Implementation of WhirlpoolDigest, based on Java source published by Barreto
and Rijmen. |
|
Class Overview
interface that a message digest conforms to.
Summary
Public Methods |
abstract
int
|
doFinal(byte[] out, int outOff)
close the digest, producing the final digest value.
|
abstract
String
|
getAlgorithmName()
return the algorithm name
|
abstract
int
|
getDigestSize()
return the size, in bytes, of the digest produced by this message digest.
|
abstract
void
|
reset()
reset the digest back to it's initial state.
|
abstract
void
|
update(byte[] in, int inOff, int len)
update the message digest with a block of bytes.
|
abstract
void
|
update(byte in)
update the message digest with a single byte.
|
Public Methods
public
abstract
int
doFinal
(byte[] out, int outOff)
close the digest, producing the final digest value. The doFinal
call leaves the digest reset.
Parameters
out
| the array the digest is to be copied into. |
outOff
| the offset into the out array the digest is to start at.
|
public
abstract
String
getAlgorithmName
()
return the algorithm name
public
abstract
int
getDigestSize
()
return the size, in bytes, of the digest produced by this message digest.
Returns
- the size, in bytes, of the digest produced by this message digest.
public
abstract
void
reset
()
reset the digest back to it's initial state.
public
abstract
void
update
(byte[] in, int inOff, int len)
update the message digest with a block of bytes.
Parameters
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
abstract
void
update
(byte in)
update the message digest with a single byte.
Parameters
in
| the input byte to be entered.
|