4344454647484950515253
// // test 1 // byte[] bytes = Hex.decode(testVec1); digest.update(bytes, 0, bytes.length); digest.doFinal(resBuf, 0); resStr = new String(Hex.encode(resBuf)); if (!resVec1.equals(resStr)) {
6263646566676869707172
// // test 2 // bytes = Hex.decode(testVec2); digest.update(bytes, 0, bytes.length); digest.doFinal(resBuf, 0); resStr = new String(Hex.encode(resBuf)); if (!resVec2.equals(resStr))
8182838485868788899091
// // test 3 // bytes = Hex.decode(testVec3); digest.update(bytes, 0, bytes.length); digest.doFinal(resBuf, 0); resStr = new String(Hex.encode(resBuf)); if (!resVec3.equals(resStr))
102103104105106107108109110111112
// test 4 // bytes = Hex.decode(testVec4); digest.update(bytes, 0, bytes.length); digest.doFinal(resBuf, 0); resStr = new String(Hex.encode(resBuf)); if (!resVec4.equals(resStr))
121122123124125126127128129130131
// // test 5 // bytes = Hex.decode(testVec5); digest.update(bytes, 0, bytes.length); digest.doFinal(resBuf, 0); resStr = new String(Hex.encode(resBuf)); if (!resVec5.equals(resStr))
141142143144145146147148149150151
// // test 6 // bytes = Hex.decode(testVec6); digest.update(bytes, 0, bytes.length); digest.doFinal(resBuf, 0); resStr = new String(Hex.encode(resBuf)); if (!resVec6.equals(resStr))
160161162163164165166167168169170
// // test 7 // bytes = Hex.decode(testVec7); digest.update(bytes, 0, bytes.length); digest.doFinal(resBuf, 0); resStr = new String(Hex.encode(resBuf)); if (!resVec7.equals(resStr))