@Test public void success_Decode_1() { EncodedCoordinate encoded = new EncodedCoordinateEd25519(HexEncoder.getBytes("762115b81aae8ab7a87e5d205ee64173ffc2666721b9bed118c4af49a2928601")); Coordinate coordinate = encoded.decode(); assertThat(coordinate.getInteger(), is(new BigInteger("690082385501664621091624779109445751481919948714921317484605800924977635702"))); }
@Override public Coordinate decode() { byte[] seed = ByteUtils.reverse(this.value); return new CoordinateEd25519(new BigInteger(1, seed)); }
EncodedCoordinateEd25519 extends EncodedCoordinate { @Override public Coordinate decode() { byte[] seed = ByteUtils.reverse(this.value); return new CoordinateEd25519(new BigInteger(1, seed)); } }
EncodedCoordinateEd25519 extends EncodedCoordinate { @Override public Coordinate decode() { byte[] seed = ByteUtils.reverse(this.value); return new CoordinateEd25519(new BigInteger(1, seed)); } EncodedCoordinateEd25519(byte[] value); }
EncodedCoordinateEd25519 extends EncodedCoordinate { @Override public Coordinate decode() { byte[] seed = ByteUtils.reverse(this.value); return new CoordinateEd25519(new BigInteger(1, seed)); } EncodedCoordinateEd25519(byte[] value); @Override Coordinate decode(); }
EncodedCoordinateEd25519 extends EncodedCoordinate { @Override public Coordinate decode() { byte[] seed = ByteUtils.reverse(this.value); return new CoordinateEd25519(new BigInteger(1, seed)); } EncodedCoordinateEd25519(byte[] value); @Override Coordinate decode();  }