Java 类fr.cryptohash.SHA224 实例源码

项目:burstcoin    文件:TestDigest.java   
/**
 * Test SHA-224 implementation.
 */
private static void testSHA224()
{
    Digest dig = new SHA224();
    testKat(dig, "abc",
   "23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7");
    testKat(dig, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlm"
        + "nomnopnopq",
   "75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525");

    testKatMillionA(dig,
   "20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67");

    reportSuccess("SHA-224");
}
项目:risecoin    文件:TestDigest.java   
/**
 * Test SHA-224 implementation.
 */
private static void testSHA224()
{
    Digest dig = new SHA224();
    testKat(dig, "abc",
   "23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7");
    testKat(dig, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlm"
        + "nomnopnopq",
   "75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525");

    testKatMillionA(dig,
   "20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67");

    reportSuccess("SHA-224");
}
项目:digibytej-alice    文件:TestDigest.java   
/**
 * Test SHA-224 implementation.
 */
private static void testSHA224()
{
    Digest dig = new SHA224();
    testKat(dig, "abc",
   "23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7");
    testKat(dig, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlm"
        + "nomnopnopq",
   "75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525");

    testKatMillionA(dig,
   "20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67");

    reportSuccess("SHA-224");
}
项目:cannabiscoinj    文件:TestDigest.java   
/**
 * Test SHA-224 implementation.
 */
private static void testSHA224()
{
    Digest dig = new SHA224();
    testKat(dig, "abc",
   "23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7");
    testKat(dig, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlm"
        + "nomnopnopq",
   "75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525");

    testKatMillionA(dig,
   "20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67");

    reportSuccess("SHA-224");
}
项目:quarkcoinj    文件:TestDigest.java   
/**
 * Test SHA-224 implementation.
 */
private static void testSHA224()
{
    Digest dig = new SHA224();
    testKat(dig, "abc",
   "23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7");
    testKat(dig, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlm"
        + "nomnopnopq",
   "75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525");

    testKatMillionA(dig,
   "20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67");

    reportSuccess("SHA-224");
}
项目:animecoinj    文件:TestDigest.java   
/**
 * Test SHA-224 implementation.
 */
private static void testSHA224()
{
    Digest dig = new SHA224();
    testKat(dig, "abc",
   "23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7");
    testKat(dig, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlm"
        + "nomnopnopq",
   "75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525");

    testKatMillionA(dig,
   "20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67");

    reportSuccess("SHA-224");
}
项目:myriadcoinj    文件:TestDigest.java   
/**
 * Test SHA-224 implementation.
 */
private static void testSHA224()
{
    Digest dig = new SHA224();
    testKat(dig, "abc",
   "23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7");
    testKat(dig, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlm"
        + "nomnopnopq",
   "75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525");

    testKatMillionA(dig,
   "20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67");

    reportSuccess("SHA-224");
}
项目:dashj    文件:TestDigest.java   
/**
 * Test SHA-224 implementation.
 */
private static void testSHA224()
{
    Digest dig = new SHA224();
    testKat(dig, "abc",
   "23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7");
    testKat(dig, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlm"
        + "nomnopnopq",
   "75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525");

    testKatMillionA(dig,
   "20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67");

    reportSuccess("SHA-224");
}
项目:sphlib    文件:SHA224Test.java   
@Test
public void testSHA224() {
    Digest dig = new SHA224();
    testKat(dig, "abc",
            "23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7");
    testKat(dig, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlm"
            + "nomnopnopq",
            "75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525");

    testKatMillionA(dig,
            "20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67");

    reportSuccess("SHA-224");
}