Top Fields Constructors Methods
org.bouncycastle.crypto.prng.drbg

pack-priv Class Utils

extends Object
Class Inheritance
Imports
java.util.Hashtable, org.bouncycastle.crypto.Digest, .Mac, org.bouncycastle.util.Integers

Field Summary

Modifier and TypeField and Description
pack-priv static final Hashtable<K, V>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static int
pack-priv static int
pack-priv static byte[]
hash_df(Digest digest, byte[] seedMaterial, int seedLength)

Used by both Dual EC and Hash.

pack-priv static boolean
isTooLarge(byte[] bytes, int maxBytes)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

maxSecurityStrengthsback to summary
pack-priv static final Hashtable<K, V> maxSecurityStrengths

Constructor Detail

Utilsback to summary
pack-priv Utils()

Method Detail

getMaxSecurityStrengthback to summary
pack-priv static int getMaxSecurityStrength(Digest d)
getMaxSecurityStrengthback to summary
pack-priv static int getMaxSecurityStrength(Mac m)
hash_dfback to summary
pack-priv static byte[] hash_df(Digest digest, byte[] seedMaterial, int seedLength)

Used by both Dual EC and Hash.

isTooLargeback to summary
pack-priv static boolean isTooLarge(byte[] bytes, int maxBytes)