本文整理汇总了Java中fr.cryptohash.PANAMA类的典型用法代码示例。如果您正苦于以下问题:Java PANAMA类的具体用法?Java PANAMA怎么用?Java PANAMA使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PANAMA类属于fr.cryptohash包,在下文中一共展示了PANAMA类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: testPANAMA
import fr.cryptohash.PANAMA; //导入依赖的package包/类
/**
* Test PANAMA implementation.
*/
private static void testPANAMA()
{
Digest dig = new PANAMA();
testKat(dig, "",
"aa0cc954d757d7ac7779ca3342334ca471abd47d5952ac91ed837ecd5b16922b");
testKat(dig, "T",
"049d698307d8541f22870dfa0a551099d3d02bc6d57c610a06a4585ed8d35ff8");
testKat(dig, "The quick brown fox jumps over the lazy dog",
"5f5ca355b90ac622b0aa7e654ef5f27e9e75111415b48b8afe3add1c6b89cba1");
testKatMillionA(dig,
"af9c66fb6058e2232a5dfba063ee14b0f86f0e334e165812559435464dd9bb60");
reportSuccess("PANAMA");
}
示例2: testPANAMA
import fr.cryptohash.PANAMA; //导入依赖的package包/类
@Test
public void testPANAMA() {
Digest dig = new PANAMA();
testKat(dig, "",
"aa0cc954d757d7ac7779ca3342334ca471abd47d5952ac91ed837ecd5b16922b");
testKat(dig, "T",
"049d698307d8541f22870dfa0a551099d3d02bc6d57c610a06a4585ed8d35ff8");
testKat(dig, "The quick brown fox jumps over the lazy dog",
"5f5ca355b90ac622b0aa7e654ef5f27e9e75111415b48b8afe3add1c6b89cba1");
testKatMillionA(dig,
"af9c66fb6058e2232a5dfba063ee14b0f86f0e334e165812559435464dd9bb60");
reportSuccess("PANAMA");
}