Class Ed25519

java.lang.Object
com.frostwire.jlibtorrent.Ed25519

public final class Ed25519 extends Object
  • Field Details

  • Method Details

    • createSeed

      public static byte[] createSeed()
    • createKeypair

      public static Pair<byte[],byte[]> createKeypair(byte[] seed)
    • sign

      public static byte[] sign(byte[] message, byte[] publicKey, byte[] secretKey)
    • verify

      public static boolean verify(byte[] signature, byte[] message, byte[] publicKey)
    • addScalarPublic

      public static byte[] addScalarPublic(byte[] publicKey, byte[] scalar)
    • addScalarSecret

      public static byte[] addScalarSecret(byte[] secretKey, byte[] scalar)
    • keyExchange

      public byte[] keyExchange(byte[] publicKey, byte[] secretKey)