@Test public void success_GeneratePrivateKey_from_random() { PrivateKey privateKey = PrivateKeyEd25519.random(); assertNotNull(privateKey); }
public static PrivateKey random() { byte[] seed = new byte[32]; SecureRandom random = new SecureRandom(); random.nextBytes(seed); return new PrivateKeyEd25519(seed); }
PrivateKeyEd25519 extends PrivateKey { public static PrivateKey random() { byte[] seed = new byte[32]; SecureRandom random = new SecureRandom(); random.nextBytes(seed); return new PrivateKeyEd25519(seed); } }
PrivateKeyEd25519 extends PrivateKey { public static PrivateKey random() { byte[] seed = new byte[32]; SecureRandom random = new SecureRandom(); random.nextBytes(seed); return new PrivateKeyEd25519(seed); } private  PrivateKeyEd25519(byte[] value); }
PrivateKeyEd25519 extends PrivateKey { public static PrivateKey random() { byte[] seed = new byte[32]; SecureRandom random = new SecureRandom(); random.nextBytes(seed); return new PrivateKeyEd25519(seed); } private  PrivateKeyEd25519(byte[] value); static PrivateKey fromHexString(String hexString); static PrivateKey fromBytes(byte[] bytes); static PrivateKey random(); @Override BigInteger getScalarSeed(HashDelegate hashDelegate); }
PrivateKeyEd25519 extends PrivateKey { public static PrivateKey random() { byte[] seed = new byte[32]; SecureRandom random = new SecureRandom(); random.nextBytes(seed); return new PrivateKeyEd25519(seed); } private  PrivateKeyEd25519(byte[] value); static PrivateKey fromHexString(String hexString); static PrivateKey fromBytes(byte[] bytes); static PrivateKey random(); @Override BigInteger getScalarSeed(HashDelegate hashDelegate);  }