assertArrayEquals(expected, KeyUtils.makeEntryKey(hash, type, col));
}
@Test
public void retrieveMD5() throws Exception {
final Hex hex = new Hex();
final byte[] hash = hex.decode("deadbeefdeadbeefdeadbeefdeadbeef".getBytes());
final byte[] entryID = FsEntryUtils.makeFsEntryKey(hex.decode("baadf00dbaadf00dbaadf00dbaadf00d".getBytes()), "/etc/passwd".getBytes(), 17);
final byte[] rowKey = KeyUtils.makeEntryKey(hash, KeyUtils.MD5, entryID);
assertArrayEquals(hash, KeyUtils.getHash(rowKey));
}