Java Code Examples for net.i2p.crypto.eddsa.Utils#bytesToHex()
The following examples show how to use
net.i2p.crypto.eddsa.Utils#bytesToHex() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SLIP0010Ed25519PrivateKeyTest.java From java-stellar-sdk with Apache License 2.0 | 5 votes |
private static String deriveEd25519PrivateKey(final String seed, final int... indexes) { try { return Utils.bytesToHex(SLIP10.deriveEd25519PrivateKey(Utils.hexToBytes(seed), indexes)); } catch (Exception e) { throw new RuntimeException(e); } }
Example 2
Source File: Ed25519FieldElement.java From RipplePower with Apache License 2.0 | 4 votes |
@Override public String toString() { return "[Ed25519FieldElement val="+Utils.bytesToHex(toByteArray())+"]"; }