public class

Curve25519

extends Object
java.lang.Object
   ↳ mobisocial.crypto.Curve25519

Summary

Constants
int KEY_SIZE
Fields
public static final byte[] ORDER
public static final byte[] PRIME
public static final byte[] ZERO
Public Constructors
Curve25519()
Public Methods
final static void clamp(byte[] k)
KEY AGREEMENT
final static void curve(byte[] Z, byte[] k, byte[] P)
final static void keygen(byte[] P, byte[] s, byte[] k)
final static boolean sign(byte[] v, byte[] h, byte[] x, byte[] s)
DIGITAL SIGNATURES
final static void verify(byte[] Y, byte[] v, byte[] h, byte[] P)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int KEY_SIZE

Constant Value: 32 (0x00000020)

Fields

public static final byte[] ORDER

public static final byte[] PRIME

public static final byte[] ZERO

Public Constructors

public Curve25519 ()

Public Methods

public static final void clamp (byte[] k)

KEY AGREEMENT

public static final void curve (byte[] Z, byte[] k, byte[] P)

public static final void keygen (byte[] P, byte[] s, byte[] k)

public static final boolean sign (byte[] v, byte[] h, byte[] x, byte[] s)

DIGITAL SIGNATURES

public static final void verify (byte[] Y, byte[] v, byte[] h, byte[] P)