예제 #1
0
 public void testSHA1vsDecodedTyler() throws CryptoException {
   for (int i = 0; i < TESTSTRINGS.length; i++) {
     assertTrue(
         "TESTSTRINGS[" + i + "]",
         CryptoTools.equalByteArrays(
             CryptoTools.digest(TESTSTRINGS[i]), Base32.decode(TYLER_SHA1_OUTPUT[i])));
   }
 }