@Test
public void testComputeSha1() throws IOException {

  final byte[] buf = new byte[] {0, 1, 2, 3, 4, 5, 6, 7};
  ReadableByteChannel c = Channels.newChannel(new ByteArrayInputStream(buf));
  assertEquals("67423ebfa8454f19ac6f4686d6c0dc731a3ddd6b", ZsyncUtil.computeSha1(c));;
}