block word digest SHA-1 512 32 160 SHA-256 512 32 256 SHA-384 1024 64 384 SHA-512 1024 64 512
225226227228229230231
static public class McElieceFujisaki256 extends McElieceFujisakiCipherSpi { public McElieceFujisaki256() { super(new SHA256Digest(), new McElieceFujisakiCipher()); }
187188189190191192193194195196
{ hashAlg = new SHA512Digest(); } else if ("SHA-256".equals(alg)) { hashAlg = new SHA256Digest(); } polyType = dis.read(); init(); }
143144145146147148149
static public class McEliecePKCS256 extends McEliecePKCSCipherSpi { public McEliecePKCS256() { super(new SHA256Digest(), new McEliecePKCSCipher()); }
26272829303132
* Construct the default parameters. * The default message digest is SHA256. */ public McElieceCCA2Parameters() { this.digest = new SHA256Digest(); }
32333435363738
} public McElieceCCA2Parameters(int m, int t) { super(m, t); this.digest = new SHA256Digest(); }
206207208209210211212213214215
{ hashAlg = new SHA512Digest(); } else if ("SHA-256".equals(alg)) { hashAlg = new SHA256Digest(); } init(); }
8889909192939495969798
break; case TIGER: generator = new PKCS12ParametersGenerator(new TigerDigest()); break; case SHA256: generator = new PKCS12ParametersGenerator(new SHA256Digest()); break; default: throw new IllegalStateException("unknown digest scheme for PBE encryption."); } }
405406407408409410411
public static class SHA256 extends JCEMac { public SHA256() { super(new HMac(new SHA256Digest())); }
253254255256257258259
static public class SHA256WithRSAEncryption extends JDKDigestSignature { public SHA256WithRSAEncryption() { super(NISTObjectIdentifiers.id_sha256, new SHA256Digest(), new PKCS1Encoding(new RSABlindedEngine())); }
9596979899100101102103104105
{ return new SHA224Digest(); } if (sha256.contains(digestName)) { return new SHA256Digest(); } if (sha384.contains(digestName)) { return new SHA384Digest(); }