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
67686970717273
this(256); } public KeyGen(int keySize) { super("Camellia", keySize, new CipherKeyGenerator()); }
23242526272829
public static class KeyGen extends JCEKeyGenerator { public KeyGen() { super("Grainv1", 80, new CipherKeyGenerator()); }
45464748495051
public static class KeyGen extends JCEKeyGenerator { public KeyGen() { super("CAST5", 128, new CipherKeyGenerator()); }
222223224225226227228229230231232
Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException { CipherParameters param; // // a note on iv's - if ivLength is zero the IV gets ignored (we don't use it). // if (key instanceof JCEPBEKey)
8788899091929394959697
{ return new SHA1Digest(); } if (md5.contains(digestName)) { return new MD5Digest(); } if (sha224.contains(digestName)) { return new SHA224Digest(); }
349350351352353354355
static public class RIPEMD256WithRSAEncryption extends JDKDigestSignature { public RIPEMD256WithRSAEncryption() { super(TeleTrusTObjectIdentifiers.ripemd256, new RIPEMD256Digest(), new PKCS1Encoding(new RSABlindedEngine())); }
8384858687888990919293
{ digestName = Strings.toUpperCase(digestName); if (sha1.contains(digestName)) { return new SHA1Digest(); } if (md5.contains(digestName)) { return new MD5Digest(); }
919293949596979899100101
{ return new MD5Digest(); } if (sha224.contains(digestName)) { return new SHA224Digest(); } if (sha256.contains(digestName)) { return new SHA256Digest(); }
268269270271272273274
static public class SHA224WithRSAEncryption extends JDKDigestSignature { public SHA224WithRSAEncryption() { super(NISTObjectIdentifiers.id_sha224, new SHA224Digest(), new PKCS1Encoding(new RSABlindedEngine())); }
393394395396397398399
public static class SHA224 extends JCEMac { public SHA224() { super(new HMac(new SHA224Digest())); }