}
public void testCopyPrefixTo() {
Sha1Value value = new Sha1Value(new byte[] { 0, 1, 2, 3 });
byte[] out = new byte[3];
value.copyPrefixTo(out);
assertTrue(Arrays.equals(new byte[] { 0, 1, 2 }, out));
}
public void testHashAndEquals() {
Sha1Value v1 = new Sha1Value("aa");