@Test(expected = IllegalStateException.class) public void failure_wrong_outputLength_1() { String seed1 = "hoge"; Hashes.hash(HashAlgorithm.KECCAK_256, 12, seed1.getBytes()); }
public static byte[] hash(HashAlgorithm algorithm, byte[]... inputs) { return hash(algorithm, algorithm.getDefaultBitLength() / 8, inputs); }
Hashes { public static byte[] hash(HashAlgorithm algorithm, byte[]... inputs) { return hash(algorithm, algorithm.getDefaultBitLength() / 8, inputs); } }
Hashes { public static byte[] hash(HashAlgorithm algorithm, byte[]... inputs) { return hash(algorithm, algorithm.getDefaultBitLength() / 8, inputs); }  }
Hashes { public static byte[] hash(HashAlgorithm algorithm, byte[]... inputs) { return hash(algorithm, algorithm.getDefaultBitLength() / 8, inputs); }  static byte[] hash(HashAlgorithm algorithm, byte[]... inputs); static byte[] hash(HashAlgorithm algorithm, int outputByteLength, byte[]... inputs); }
Hashes { public static byte[] hash(HashAlgorithm algorithm, byte[]... inputs) { return hash(algorithm, algorithm.getDefaultBitLength() / 8, inputs); }  static byte[] hash(HashAlgorithm algorithm, byte[]... inputs); static byte[] hash(HashAlgorithm algorithm, int outputByteLength, byte[]... inputs);  }