@Test
public void success_GeneratePublicKeySeed_via_SHA_512_from_byte_array_1() {

    byte[] input = new byte[]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31};
    String str = HexEncoder.getString(input);
    assertThat(str, is("000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f"));
    assertThat(HexEncoder.getBytes(str), is(input));
    PrivateKey privateKey = PrivateKeyEd25519.fromBytes(input);
    PublicKeyDelegate delegate1 = new Ed25519PublicKeyDelegate(HashAlgorithm.SHA_512);
    byte[] seed = delegate1.generatePublicKeySeed(privateKey);
    assertThat(HexEncoder.getString(seed), is("03a107bff3ce10be1d70dd18e74bc09967e4d6309ba50d5f1ddc8664125531b8"));
}