Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedDigest |
interface |
Xof
With FIPS PUB 202 a new kind of message digest was announced which supported extendable output, or variable digest sizes.
|
Modifier and Type | Method and Description |
---|---|
Digest |
DigestDerivationFunction.getDigest()
return the message digest used as the basis for the function
|
Constructor and Description |
---|
ECVKOAgreement(Digest digest) |
SM2KeyExchange(Digest digest) |
Modifier and Type | Method and Description |
---|---|
static BigInteger |
JPAKEUtil.calculateMacTag(String participantId,
String partnerParticipantId,
BigInteger gx1,
BigInteger gx2,
BigInteger gx3,
BigInteger gx4,
BigInteger keyingMaterial,
Digest digest)
Calculates the MacTag (to be used for key confirmation), as defined by
NIST SP 800-56A Revision 1,
Section 8.2 Unilateral Key Confirmation for Key Agreement Schemes.
|
static BigInteger[] |
JPAKEUtil.calculateZeroKnowledgeProof(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger gx,
BigInteger x,
String participantId,
Digest digest,
SecureRandom random)
Calculate a zero knowledge proof of x using Schnorr's signature.
|
static void |
JPAKEUtil.validateMacTag(String participantId,
String partnerParticipantId,
BigInteger gx1,
BigInteger gx2,
BigInteger gx3,
BigInteger gx4,
BigInteger keyingMaterial,
Digest digest,
BigInteger partnerMacTag)
Validates the MacTag received from the partner participant.
|
static void |
JPAKEUtil.validateZeroKnowledgeProof(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger gx,
BigInteger[] zeroKnowledgeProof,
String participantId,
Digest digest)
Validates the zero knowledge proof (generated by
JPAKEUtil.calculateZeroKnowledgeProof(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, String, Digest, SecureRandom) )
is correct. |
Constructor and Description |
---|
JPAKEParticipant(String participantId,
char[] password,
JPAKEPrimeOrderGroup group,
Digest digest,
SecureRandom random)
Construct a new
JPAKEParticipant . |
Modifier and Type | Method and Description |
---|---|
Digest |
GSKKFDGenerator.getDigest() |
Digest |
ConcatenationKDFGenerator.getDigest()
return the underlying digest.
|
Digest |
DHKEKGenerator.getDigest() |
Digest |
ECDHKEKGenerator.getDigest() |
Constructor and Description |
---|
ConcatenationKDFGenerator(Digest digest) |
DHKEKGenerator(Digest digest) |
ECDHKEKGenerator(Digest digest) |
GSKKFDGenerator(Digest digest) |
Modifier and Type | Field and Description |
---|---|
protected Digest |
SRP6VerifierGenerator.digest |
protected Digest |
SRP6Client.digest |
protected Digest |
SRP6Server.digest |
Modifier and Type | Method and Description |
---|---|
static BigInteger |
SRP6Util.calculateK(Digest digest,
BigInteger N,
BigInteger g) |
static BigInteger |
SRP6Util.calculateKey(Digest digest,
BigInteger N,
BigInteger S)
Computes the final Key according to the standard routine: Key = H(S)
|
static BigInteger |
SRP6Util.calculateM1(Digest digest,
BigInteger N,
BigInteger A,
BigInteger B,
BigInteger S)
Computes the client evidence message (M1) according to the standard routine:
M1 = H( A | B | S )
|
static BigInteger |
SRP6Util.calculateM2(Digest digest,
BigInteger N,
BigInteger A,
BigInteger M1,
BigInteger S)
Computes the server evidence message (M2) according to the standard routine:
M2 = H( A | M1 | S )
|
static BigInteger |
SRP6Util.calculateU(Digest digest,
BigInteger N,
BigInteger A,
BigInteger B) |
static BigInteger |
SRP6Util.calculateX(Digest digest,
BigInteger N,
byte[] salt,
byte[] identity,
byte[] password) |
static BigInteger |
SRP6Util.generatePrivateValue(Digest digest,
BigInteger N,
BigInteger g,
SecureRandom random) |
void |
SRP6Server.init(BigInteger N,
BigInteger g,
BigInteger v,
Digest digest,
SecureRandom random)
Initialises the server to accept a new client authentication attempt
|
void |
SRP6VerifierGenerator.init(BigInteger N,
BigInteger g,
Digest digest)
Initialises generator to create new verifiers
|
void |
SRP6Client.init(BigInteger N,
BigInteger g,
Digest digest,
SecureRandom random)
Initialises the client to begin new authentication attempt
|
void |
SRP6Server.init(SRP6GroupParameters group,
BigInteger v,
Digest digest,
SecureRandom random) |
void |
SRP6VerifierGenerator.init(SRP6GroupParameters group,
Digest digest) |
void |
SRP6Client.init(SRP6GroupParameters group,
Digest digest,
SecureRandom random) |
Modifier and Type | Class and Description |
---|---|
class |
Blake2bDigest
Implementation of the cryptographic hash function Blakbe2b.
|
class |
Blake2sDigest
Implementation of the cryptographic hash function BLAKE2s.
|
class |
DSTU7564Digest
Reference implementation of national ukrainian standard of hashing transformation DSTU7564.
|
class |
GeneralDigest
base implementation of MD4 family style digest as outlined in
"Handbook of Applied Cryptography", pages 344 - 347.
|
class |
GOST3411_2012_256Digest
implementation of GOST R 34.11-2012 256-bit
|
class |
GOST3411_2012_512Digest
implementation of GOST R 34.11-2012 512-bit
|
class |
GOST3411_2012Digest
Base class for GOST3411-2012 256-bit and GOST3411-2012 512-bit digests.
|
class |
GOST3411Digest
implementation of GOST R 34.11-94
|
class |
KeccakDigest
implementation of Keccak based on following KeccakNISTInterface.c from http://keccak.noekeon.org/
|
class |
LongDigest
Base class for SHA-384 and SHA-512.
|
class |
MD2Digest
implementation of MD2
as outlined in RFC1319 by B.Kaliski from RSA Laboratories April 1992
|
class |
MD4Digest
implementation of MD4 as RFC 1320 by R.
|
class |
MD5Digest
implementation of MD5 as outlined in "Handbook of Applied Cryptography", pages 346 - 347.
|
class |
NonMemoableDigest
Wrapper removes exposure to the Memoable interface on an ExtendedDigest implementation.
|
class |
NullDigest |
class |
RIPEMD128Digest
implementation of RIPEMD128
|
class |
RIPEMD160Digest
implementation of RIPEMD see,
http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
|
class |
RIPEMD256Digest
implementation of RIPEMD256.
|
class |
RIPEMD320Digest
implementation of RIPEMD 320.
|
class |
SHA1Digest
implementation of SHA-1 as outlined in "Handbook of Applied Cryptography", pages 346 - 349.
|
class |
SHA224Digest
SHA-224 as described in RFC 3874
|
class |
SHA256Digest
FIPS 180-2 implementation of SHA-256.
|
class |
SHA384Digest
FIPS 180-2 implementation of SHA-384.
|
class |
SHA3Digest
implementation of SHA-3 based on following KeccakNISTInterface.c from http://keccak.noekeon.org/
|
class |
SHA512Digest
FIPS 180-2 implementation of SHA-512.
|
class |
SHA512tDigest
FIPS 180-4 implementation of SHA-512/t
|
class |
SHAKEDigest
implementation of SHAKE based on following KeccakNISTInterface.c from http://keccak.noekeon.org/
|
class |
ShortenedDigest
Wrapper class that reduces the output length of a particular digest to
only the first n bytes of the digest function.
|
class |
SkeinDigest
Implementation of the Skein parameterised hash function in 256, 512 and 1024 bit block sizes,
based on the
Threefish tweakable block cipher. |
class |
SM3Digest
Implementation of Chinese SM3 digest as described at
http://tools.ietf.org/html/draft-shen-sm3-hash-01
and at ....
|
class |
TigerDigest
implementation of Tiger based on:
http://www.cs.technion.ac.il/~biham/Reports/Tiger
|
class |
WhirlpoolDigest
Implementation of WhirlpoolDigest, based on Java source published by Barreto
and Rijmen.
|
Constructor and Description |
---|
OAEPEncoding(AsymmetricBlockCipher cipher,
Digest hash) |
OAEPEncoding(AsymmetricBlockCipher cipher,
Digest hash,
byte[] encodingParams) |
OAEPEncoding(AsymmetricBlockCipher cipher,
Digest hash,
Digest mgf1Hash,
byte[] encodingParams) |
Constructor and Description |
---|
SM2Engine(Digest digest) |
Modifier and Type | Method and Description |
---|---|
Digest |
MGF1BytesGenerator.getDigest()
return the underlying digest.
|
Digest |
HKDFBytesGenerator.getDigest() |
Digest |
BaseKDFBytesGenerator.getDigest()
return the underlying digest.
|
Constructor and Description |
---|
BaseKDFBytesGenerator(int counterStart,
Digest digest)
Construct a KDF Parameters generator.
|
DSAParametersGenerator(Digest digest) |
HKDFBytesGenerator(Digest hash)
Creates a HKDFBytesGenerator based on the given hash function.
|
KDF1BytesGenerator(Digest digest)
Construct a KDF1 byte generator.
|
KDF2BytesGenerator(Digest digest)
Construct a KDF2 bytes generator.
|
MGF1BytesGenerator(Digest digest) |
PKCS12ParametersGenerator(Digest digest)
Construct a PKCS 12 Parameters generator.
|
PKCS5S1ParametersGenerator(Digest digest)
Construct a PKCS 5 Scheme 1 Parameters generator.
|
PKCS5S2ParametersGenerator(Digest digest) |
Modifier and Type | Field and Description |
---|---|
protected Digest |
DigestInputStream.digest |
protected Digest |
DigestOutputStream.digest |
Modifier and Type | Method and Description |
---|---|
Digest |
DigestInputStream.getDigest() |
Constructor and Description |
---|
DigestInputStream(InputStream stream,
Digest digest) |
DigestOutputStream(Digest Digest) |
Modifier and Type | Method and Description |
---|---|
Digest |
HMac.getUnderlyingDigest() |
Digest |
OldHMac.getUnderlyingDigest() |
Constructor and Description |
---|
HMac(Digest digest)
Base constructor for one of the standard digest algorithms that the
byteLength of the algorithm is know for.
|
OldHMac(Digest digest)
Deprecated.
uses incorrect pad for SHA-512 and SHA-384 use HMac.
|
Modifier and Type | Method and Description |
---|---|
Digest |
CramerShoupParameters.getH() |
Constructor and Description |
---|
CramerShoupParameters(BigInteger p,
BigInteger g1,
BigInteger g2,
Digest H) |
Modifier and Type | Method and Description |
---|---|
SP800SecureRandom |
SP800SecureRandomBuilder.buildHash(Digest digest,
byte[] nonce,
boolean predictionResistant)
Build a SecureRandom based on a SP 800-90A Hash DRBG.
|
Constructor and Description |
---|
DigestRandomGenerator(Digest digest) |
Constructor and Description |
---|
DualECSP800DRBG(Digest digest,
int securityStrength,
EntropySource entropySource,
byte[] personalizationString,
byte[] nonce)
Construct a SP800-90A Dual EC DRBG.
|
DualECSP800DRBG(DualECPoints[] pointSet,
Digest digest,
int securityStrength,
EntropySource entropySource,
byte[] personalizationString,
byte[] nonce)
Construct a SP800-90A Dual EC DRBG.
|
HashSP800DRBG(Digest digest,
int securityStrength,
EntropySource entropySource,
byte[] personalizationString,
byte[] nonce)
Construct a SP800-90A Hash DRBG.
|
Modifier and Type | Method and Description |
---|---|
static Integer |
ISOTrailers.getTrailer(Digest digest) |
static boolean |
ISOTrailers.noTrailerAvailable(Digest digest) |
Constructor and Description |
---|
DSADigestSigner(DSA signer,
Digest digest) |
GenericSigner(AsymmetricBlockCipher engine,
Digest digest) |
HMacDSAKCalculator(Digest digest)
Base constructor.
|
ISO9796d2PSSSigner(AsymmetricBlockCipher cipher,
Digest digest,
int saltLength)
Constructor for a signer with an explicit digest trailer.
|
ISO9796d2PSSSigner(AsymmetricBlockCipher cipher,
Digest digest,
int saltLength,
boolean implicit)
Generate a signer with either implicit or explicit trailers for ISO9796-2, scheme 2 or 3.
|
ISO9796d2Signer(AsymmetricBlockCipher cipher,
Digest digest)
Constructor for a signer with an explicit digest trailer.
|
ISO9796d2Signer(AsymmetricBlockCipher cipher,
Digest digest,
boolean implicit)
Generate a signer with either implicit or explicit trailers for ISO9796-2.
|
PSSSigner(AsymmetricBlockCipher cipher,
Digest digest,
byte[] salt) |
PSSSigner(AsymmetricBlockCipher cipher,
Digest contentDigest,
Digest mgfDigest,
byte[] salt) |
PSSSigner(AsymmetricBlockCipher cipher,
Digest contentDigest,
Digest mgfDigest,
byte[] salt,
byte trailer) |
PSSSigner(AsymmetricBlockCipher cipher,
Digest contentDigest,
Digest mgfDigest,
int sLen) |
PSSSigner(AsymmetricBlockCipher cipher,
Digest contentDigest,
Digest mgfDigest,
int sLen,
byte trailer) |
PSSSigner(AsymmetricBlockCipher cipher,
Digest digest,
int sLen)
basic constructor
|
PSSSigner(AsymmetricBlockCipher cipher,
Digest digest,
int sLen,
byte trailer) |
RSADigestSigner(Digest digest) |
RSADigestSigner(Digest digest,
ASN1ObjectIdentifier digestOid) |
X931Signer(AsymmetricBlockCipher cipher,
Digest digest)
Constructor for a signer with an explicit digest trailer.
|
X931Signer(AsymmetricBlockCipher cipher,
Digest digest,
boolean implicit)
Generate a signer with either implicit or explicit trailers for X9.31
|
Modifier and Type | Interface and Description |
---|---|
interface |
TlsHandshakeHash |
Modifier and Type | Method and Description |
---|---|
static Digest |
TlsUtils.cloneHash(short hashAlgorithm,
Digest hash) |
static Digest |
TlsUtils.clonePRFHash(int prfAlgorithm,
Digest hash) |
static Digest |
TlsUtils.createHash(short hashAlgorithm) |
static Digest |
TlsUtils.createHash(SignatureAndHashAlgorithm signatureAndHashAlgorithm) |
protected Digest |
DefaultTlsCipherFactory.createHMACDigest(int macAlgorithm) |
static Digest |
TlsUtils.createPRFHash(int prfAlgorithm) |
Digest |
TlsHandshakeHash.forkPRFHash() |
Digest |
SSL3Mac.getUnderlyingDigest() |
Modifier and Type | Method and Description |
---|---|
static Digest |
TlsUtils.cloneHash(short hashAlgorithm,
Digest hash) |
static Digest |
TlsUtils.clonePRFHash(int prfAlgorithm,
Digest hash) |
Constructor and Description |
---|
SSL3Mac(Digest digest)
Base constructor for one of the standard digest algorithms that the byteLength of
the algorithm is know for.
|
TlsBlockCipher(TlsContext context,
BlockCipher clientWriteCipher,
BlockCipher serverWriteCipher,
Digest clientWriteDigest,
Digest serverWriteDigest,
int cipherKeySize) |
TlsMac(TlsContext context,
Digest digest,
byte[] key,
int keyOff,
int keyLen)
Generate a new instance of an TlsMac.
|
TlsNullCipher(TlsContext context,
Digest clientWriteDigest,
Digest serverWriteDigest) |
TlsStreamCipher(TlsContext context,
StreamCipher clientWriteCipher,
StreamCipher serverWriteCipher,
Digest clientWriteDigest,
Digest serverWriteDigest,
int cipherKeySize,
boolean usesNonce) |
Modifier and Type | Method and Description |
---|---|
static Digest |
DigestFactory.createMD5() |
static Digest |
DigestFactory.createSHA1() |
static Digest |
DigestFactory.createSHA224() |
static Digest |
DigestFactory.createSHA256() |
static Digest |
DigestFactory.createSHA3_224() |
static Digest |
DigestFactory.createSHA3_256() |
static Digest |
DigestFactory.createSHA3_384() |
static Digest |
DigestFactory.createSHA3_512() |
static Digest |
DigestFactory.createSHA384() |
static Digest |
DigestFactory.createSHA512_224() |
static Digest |
DigestFactory.createSHA512_256() |
static Digest |
DigestFactory.createSHA512() |
Constructor and Description |
---|
DSASigner(Digest digest,
DSA signer) |
Constructor and Description |
---|
DigestSignatureSpi(ASN1ObjectIdentifier objId,
Digest digest,
AsymmetricBlockCipher cipher) |
DigestSignatureSpi(Digest digest,
AsymmetricBlockCipher cipher) |
ISOSignatureSpi(Digest digest,
AsymmetricBlockCipher cipher) |
X931SignatureSpi(Digest digest,
AsymmetricBlockCipher cipher) |
Modifier and Type | Field and Description |
---|---|
protected Digest |
DSABase.digest |
Constructor and Description |
---|
DSABase(Digest digest,
DSA signer,
DSAEncoder encoder) |
Modifier and Type | Field and Description |
---|---|
protected Digest |
BCMessageDigest.digest |
Constructor and Description |
---|
BCMessageDigest(Digest digest) |
Modifier and Type | Method and Description |
---|---|
static Digest |
DigestFactory.getDigest(String digestName) |
Modifier and Type | Method and Description |
---|---|
Digest |
BrokenKDF2BytesGenerator.getDigest()
return the underlying digest.
|
Constructor and Description |
---|
BrokenKDF2BytesGenerator(Digest digest)
Construct a KDF2 Parameters generator.
|
Modifier and Type | Method and Description |
---|---|
static Primes.STOutput |
Primes.generateSTRandomPrime(Digest hash,
int length,
byte[] inputSeed)
FIPS 186-4 C.6 Shawe-Taylor Random_Prime Routine
Construct a provable prime number using a hash function.
|
Constructor and Description |
---|
DigestingMessageSigner(MessageSigner messSigner,
Digest messDigest) |
DigestingStateAwareMessageSigner(StateAwareMessageSigner messSigner,
Digest messDigest) |
Modifier and Type | Method and Description |
---|---|
Digest |
GMSSDigestProvider.get() |
Constructor and Description |
---|
GMSSLeaf(Digest digest,
byte[][] otsIndex,
int[] numLeafs)
This constructor regenerates a prior GMSSLeaf object
|
GMSSLeaf(Digest digest,
int w,
int numLeafs,
byte[] seed0) |
GMSSRootCalc(Digest digest,
byte[][] statByte,
int[] statInt,
Treehash[] treeH,
Vector[] ret)
This constructor regenerates a prior treehash object
|
GMSSRootSig(Digest digest,
byte[][] statByte,
int[] statInt)
This constructor regenerates a prior GMSSRootSig object used by the
GMSSPrivateKeyASN.1 class
|
GMSSRootSig(Digest digest,
int w,
int height)
The constructor generates the PRNG and initializes some variables
|
GMSSStateAwareSigner(Digest digest) |
Treehash(Digest name,
byte[][] statByte,
int[] statInt)
This constructor regenerates a prior treehash object
|
Treehash(Vector tailStack,
int maxHeight,
Digest digest)
Constructor
|
Constructor and Description |
---|
GMSSRandom(Digest messDigestTree2)
Constructor
|
WinternitzOTSignature(byte[] seed0,
Digest digest,
int w)
The constructor generates an OTS key pair, using
seed0 and
the PRNG |
WinternitzOTSVerify(Digest digest,
int w)
The constructor
|
Constructor and Description |
---|
McElieceParameters(Digest digest) |
McElieceParameters(int keysize,
Digest digest)
Constructor.
|
McElieceParameters(int m,
int t,
Digest digest)
Constructor.
|
McElieceParameters(int m,
int t,
int poly,
Digest digest)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
Digest |
NTRUEncryptionKeyGenerationParameters.hashAlg |
Digest |
NTRUSigningParameters.hashAlg |
Digest |
NTRUEncryptionParameters.hashAlg |
Digest |
NTRUSigningKeyGenerationParameters.hashAlg |
Constructor and Description |
---|
NTRUEncryptionKeyGenerationParameters(int N,
int q,
int df,
int dm0,
int db,
int c,
int minCallsR,
int minCallsMask,
boolean hashSeed,
byte[] oid,
boolean sparse,
boolean fastFp,
Digest hashAlg)
Constructs a parameter set that uses ternary private keys (i.e.
|
NTRUEncryptionKeyGenerationParameters(int N,
int q,
int df1,
int df2,
int df3,
int dm0,
int db,
int c,
int minCallsR,
int minCallsMask,
boolean hashSeed,
byte[] oid,
boolean sparse,
boolean fastFp,
Digest hashAlg)
Constructs a parameter set that uses product-form private keys (i.e.
|
NTRUEncryptionParameters(int N,
int q,
int df,
int dm0,
int db,
int c,
int minCallsR,
int minCallsMask,
boolean hashSeed,
byte[] oid,
boolean sparse,
boolean fastFp,
Digest hashAlg)
Constructs a parameter set that uses ternary private keys (i.e.
|
NTRUEncryptionParameters(int N,
int q,
int df1,
int df2,
int df3,
int dm0,
int db,
int c,
int minCallsR,
int minCallsMask,
boolean hashSeed,
byte[] oid,
boolean sparse,
boolean fastFp,
Digest hashAlg)
Constructs a parameter set that uses product-form private keys (i.e.
|
NTRUSigningKeyGenerationParameters(int N,
int q,
int d,
int B,
int basisType,
double beta,
double normBound,
double keyNormBound,
boolean primeCheck,
boolean sparse,
int keyGenAlg,
Digest hashAlg)
Constructs a parameter set that uses ternary private keys (i.e.
|
NTRUSigningKeyGenerationParameters(int N,
int q,
int d1,
int d2,
int d3,
int B,
int basisType,
double beta,
double normBound,
double keyNormBound,
boolean primeCheck,
boolean sparse,
int keyGenAlg,
Digest hashAlg)
Constructs a parameter set that uses product-form private keys (i.e.
|
NTRUSigningParameters(int N,
int q,
int d,
int B,
double beta,
double normBound,
Digest hashAlg)
Constructs a parameter set that uses ternary private keys (i.e.
|
NTRUSigningParameters(int N,
int q,
int d1,
int d2,
int d3,
int B,
double beta,
double normBound,
double keyNormBound,
Digest hashAlg)
Constructs a parameter set that uses product-form private keys (i.e.
|
Modifier and Type | Method and Description |
---|---|
Digest |
SPHINCS256KeyGenerationParameters.getTreeDigest() |
Constructor and Description |
---|
SPHINCS256KeyGenerationParameters(SecureRandom random,
Digest treeDigest) |
SPHINCS256Signer(Digest nDigest,
Digest twoNDigest)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Digest |
XMSSMTParameters.getDigest() |
protected Digest |
XMSSParameters.getDigest() |
Modifier and Type | Method and Description |
---|---|
static int |
XMSSUtil.getDigestSize(Digest digest)
Determine digest size of digest.
|
Constructor and Description |
---|
XMSSMTParameters(int height,
int layers,
Digest digest)
XMSSMT constructor...
|
XMSSParameters(int height,
Digest digest)
XMSS Constructor...
|
Constructor and Description |
---|
McElieceFujisakiCipherSpi(Digest digest,
McElieceFujisakiCipher cipher) |
McElieceKobaraImaiCipherSpi(Digest digest,
McElieceKobaraImaiCipher cipher) |
McEliecePointchevalCipherSpi(Digest digest,
McEliecePointchevalCipher cipher) |
Constructor and Description |
---|
SignatureSpi(Digest digest,
RainbowSigner signer) |
Constructor and Description |
---|
SignatureSpi(Digest digest,
SPHINCS256Signer signer) |
Constructor and Description |
---|
XMSSMTSignatureSpi(String sigName,
Digest digest,
XMSSMTSigner signer) |
XMSSSignatureSpi(String sigName,
Digest digest,
XMSSSigner signer) |
Copyright © 2020 BouncyCastle.org. All rights reserved.