8 public static class ECDH
36 public static byte[]
GetSharedKey(
byte[] LocalPrivateKey,
byte[] RemotePublicKey,
41 byte[] B = P.
X.ToByteArray();
Implements the Elliptic Curve Diffie-Hellman (ECDH) algorithm.
static PointOnCurve GetSharedPoint(byte[] LocalPrivateKey, byte[] RemotePublicKey, bool RemoteBigEndian, EllipticCurve Curve)
Gets a shared key using the Elliptic Curve Diffie-Hellman (ECDH) algorithm.
static byte[] GetSharedKey(byte[] LocalPrivateKey, byte[] RemotePublicKey, bool RemoteBigEndian, HashFunctionArray HashFunction, EllipticCurve Curve)
Gets a shared key using the Elliptic Curve Diffie-Hellman (ECDH) algorithm.
Abstract base class for elliptic curves.
int OrderBytes
Number of bytes required to represent the order of the curve.
PointOnCurve Decode(byte[] Point)
Decodes an encoded point on the curve.
PointOnCurve ScalarMultiplication(BigInteger N, PointOnCurve P, bool Normalize)
Performs the scalar multiplication of N *P .
delegate byte[] HashFunctionArray(byte[] Data)
Delegate to hash function.
HashFunction
Hash method enumeration.
Represents a point on a curve.