Java 类org.bouncycastle.crypto.digests.SHA512tDigest 实例源码

项目:ipack    文件:SHA512.java   
public Object clone()
    throws CloneNotSupportedException
{
    DigestT d = (DigestT)super.clone();
    d.digest = new SHA512tDigest((SHA512tDigest)digest);

    return d;
}
项目:Aki-SSL    文件:DigestFactory.java   
public static Digest getDigest(
    String digestName) 
{
    digestName = Strings.toUpperCase(digestName);

    if (sha1.contains(digestName))
    {
        return new SHA1Digest();
    }
    if (md5.contains(digestName))
    {
        return new MD5Digest();
    }
    if (sha224.contains(digestName))
    {
        return new SHA224Digest();
    }
    if (sha256.contains(digestName))
    {
        return new SHA256Digest();
    }
    if (sha384.contains(digestName))
    {
        return new SHA384Digest();
    }
    if (sha512.contains(digestName))
    {
        return new SHA512Digest();
    }
    if (sha512_224.contains(digestName))
    {
        return new SHA512tDigest(224);
    }
    if (sha512_256.contains(digestName))
    {
        return new SHA512tDigest(256);
    }

    return null;
}
项目:Aki-SSL    文件:SHA512.java   
public Object clone()
    throws CloneNotSupportedException
{
    DigestT d = (DigestT)super.clone();
    d.digest = new SHA512tDigest((SHA512tDigest)digest);

    return d;
}
项目:CryptMeme    文件:SHA512.java   
public Object clone()
    throws CloneNotSupportedException
{
    DigestT d = (DigestT)super.clone();
    d.digest = new SHA512tDigest((SHA512tDigest)digest);

    return d;
}
项目:irma_future_id    文件:SHA512.java   
public Object clone()
    throws CloneNotSupportedException
{
    DigestT d = (DigestT)super.clone();
    d.digest = new SHA512tDigest((SHA512tDigest)digest);

    return d;
}
项目:bc-java    文件:SHA512.java   
public Object clone()
    throws CloneNotSupportedException
{
    DigestT d = (DigestT)super.clone();
    d.digest = new SHA512tDigest((SHA512tDigest)digest);

    return d;
}
项目:ipack    文件:SHA512.java   
public DigestT(int bitLength)
{
    super(new SHA512tDigest(bitLength));
}
项目:ipack    文件:SHA512.java   
public HashMacT224()
{
    super(new HMac(new SHA512tDigest(224)));
}
项目:ipack    文件:SHA512.java   
public HashMacT256()
{
    super(new HMac(new SHA512tDigest(256)));
}
项目:gwt-crypto    文件:SHA512t224DigestTest.java   
SHA512t224DigestTest()
{
    super(new SHA512tDigest(224), messages, digests);
}
项目:gwt-crypto    文件:SHA512t224DigestTest.java   
protected Digest cloneDigest(Digest digest)
{
    return new SHA512tDigest((SHA512tDigest)digest);
}
项目:gwt-crypto    文件:SHA512t224DigestTest.java   
protected Digest cloneDigest(byte[] encodedState)
{
    return new SHA512tDigest(encodedState);
}
项目:gwt-crypto    文件:SHA512t256DigestTest.java   
SHA512t256DigestTest()
{
    super(new SHA512tDigest(256), messages, digests);
}
项目:gwt-crypto    文件:SHA512t256DigestTest.java   
protected Digest cloneDigest(Digest digest)
{
    return new SHA512tDigest((SHA512tDigest)digest);
}
项目:gwt-crypto    文件:SHA512t256DigestTest.java   
protected Digest cloneDigest(byte[] encodedState)
{
    return new SHA512tDigest(encodedState);
}
项目:Aki-SSL    文件:SHA512.java   
public DigestT(int bitLength)
{
    super(new SHA512tDigest(bitLength));
}
项目:Aki-SSL    文件:SHA512.java   
public HashMacT224()
{
    super(new HMac(new SHA512tDigest(224)));
}
项目:Aki-SSL    文件:SHA512.java   
public HashMacT256()
{
    super(new HMac(new SHA512tDigest(256)));
}
项目:Aki-SSL    文件:ISOSignatureSpi.java   
public SHA512_224WithRSAEncryption()
{
    super(new SHA512tDigest(224), new RSABlindedEngine());
}
项目:Aki-SSL    文件:ISOSignatureSpi.java   
public SHA512_256WithRSAEncryption()
{
    super(new SHA512tDigest(256), new RSABlindedEngine());
}
项目:Aki-SSL    文件:DigestSignatureSpi.java   
public SHA512_224()
{
    super(NISTObjectIdentifiers.id_sha512_224, new SHA512tDigest(224), new PKCS1Encoding(new RSABlindedEngine()));
}
项目:Aki-SSL    文件:DigestSignatureSpi.java   
public SHA512_256()
{
    super(NISTObjectIdentifiers.id_sha512_256, new SHA512tDigest(256), new PKCS1Encoding(new RSABlindedEngine()));
}
项目:Aki-SSL    文件:X931SignatureSpi.java   
public SHA512_224WithRSAEncryption()
{
    super(new SHA512tDigest(224), new RSABlindedEngine());
}
项目:Aki-SSL    文件:X931SignatureSpi.java   
public SHA512_256WithRSAEncryption()
{
    super(new SHA512tDigest(256), new RSABlindedEngine());
}
项目:hash-bench    文件:BouncyCastleHasher.java   
public static final void register(final Map<String, Hasher> hashers) {
  hashers.put(BouncyCastleHasher.GOST,
          new BouncyCastleHasher(new GOST3411Digest()));
  hashers.put(BouncyCastleHasher.MD2,
          new BouncyCastleHasher(new MD2Digest()));
  hashers.put(BouncyCastleHasher.MD4,
          new BouncyCastleHasher(new MD4Digest()));
  hashers.put(BouncyCastleHasher.MD5,
          new BouncyCastleHasher(new MD5Digest()));
  hashers.put(BouncyCastleHasher.RIPEMD128,
          new BouncyCastleHasher(new RIPEMD128Digest()));
  hashers.put(BouncyCastleHasher.RIPEMD160,
          new BouncyCastleHasher(new RIPEMD160Digest()));
  hashers.put(BouncyCastleHasher.RIPEMD256,
          new BouncyCastleHasher(new RIPEMD256Digest()));
  hashers.put(BouncyCastleHasher.RIPEMD320,
          new BouncyCastleHasher(new RIPEMD320Digest()));
  hashers.put(BouncyCastleHasher.SHA1,
          new BouncyCastleHasher(new SHA1Digest()));
  hashers.put(BouncyCastleHasher.SHA224,
          new BouncyCastleHasher(new SHA224Digest()));
  hashers.put(BouncyCastleHasher.SHA256,
          new BouncyCastleHasher(new SHA256Digest()));
  hashers.put(BouncyCastleHasher.SHA3,
          new BouncyCastleHasher(new SHA3Digest()));
  hashers.put(BouncyCastleHasher.SHA384,
          new BouncyCastleHasher(new SHA384Digest()));
  hashers.put(BouncyCastleHasher.SHA512,
          new BouncyCastleHasher(new SHA512Digest()));
  hashers.put(BouncyCastleHasher.SHA512_T,
          new BouncyCastleHasher(new SHA512tDigest(7 * 8)));
  hashers.put(BouncyCastleHasher.SKEIN1024, new BouncyCastleHasher(
          new SkeinDigest(SkeinDigest.SKEIN_1024, Long.BYTES * 8)));
  hashers.put(BouncyCastleHasher.SKEIN256, new BouncyCastleHasher(
          new SkeinDigest(SkeinDigest.SKEIN_256, Long.BYTES * 8)));
  hashers.put(BouncyCastleHasher.SKEIN512, new BouncyCastleHasher(
          new SkeinDigest(SkeinDigest.SKEIN_512, Long.BYTES * 8)));
  hashers.put(BouncyCastleHasher.SM3,
          new BouncyCastleHasher(new SM3Digest()));
  hashers.put(BouncyCastleHasher.TIGER,
          new BouncyCastleHasher(new TigerDigest()));
  hashers.put(BouncyCastleHasher.WHIRLPOOL2,
          new BouncyCastleHasher(new WhirlpoolDigest()));
}
项目:CryptMeme    文件:SHA512.java   
public DigestT(int bitLength)
{
    super(new SHA512tDigest(bitLength));
}
项目:CryptMeme    文件:SHA512.java   
public HashMacT224()
{
    super(new HMac(new SHA512tDigest(224)));
}
项目:CryptMeme    文件:SHA512.java   
public HashMacT256()
{
    super(new HMac(new SHA512tDigest(256)));
}
项目:irma_future_id    文件:SHA512t224DigestTest.java   
SHA512t224DigestTest()
{
    super(new SHA512tDigest(224), messages, digests);
}
项目:irma_future_id    文件:SHA512t224DigestTest.java   
protected Digest cloneDigest(Digest digest)
{
    return new SHA512tDigest((SHA512tDigest)digest);
}
项目:irma_future_id    文件:SHA512t256DigestTest.java   
SHA512t256DigestTest()
{
    super(new SHA512tDigest(256), messages, digests);
}
项目:irma_future_id    文件:SHA512t256DigestTest.java   
protected Digest cloneDigest(Digest digest)
{
    return new SHA512tDigest((SHA512tDigest)digest);
}
项目:irma_future_id    文件:SHA512.java   
public DigestT(int bitLength)
{
    super(new SHA512tDigest(bitLength));
}
项目:irma_future_id    文件:SHA512.java   
public HashMacT224()
{
    super(new HMac(new SHA512tDigest(224)));
}
项目:irma_future_id    文件:SHA512.java   
public HashMacT256()
{
    super(new HMac(new SHA512tDigest(256)));
}
项目:bc-java    文件:SHA512t224DigestTest.java   
SHA512t224DigestTest()
{
    super(new SHA512tDigest(224), messages, digests);
}
项目:bc-java    文件:SHA512t224DigestTest.java   
protected Digest cloneDigest(Digest digest)
{
    return new SHA512tDigest((SHA512tDigest)digest);
}
项目:bc-java    文件:SHA512t256DigestTest.java   
SHA512t256DigestTest()
{
    super(new SHA512tDigest(256), messages, digests);
}
项目:bc-java    文件:SHA512t256DigestTest.java   
protected Digest cloneDigest(Digest digest)
{
    return new SHA512tDigest((SHA512tDigest)digest);
}
项目:bc-java    文件:SHA512.java   
public DigestT(int bitLength)
{
    super(new SHA512tDigest(bitLength));
}