C# Class libaxolotl.ecc.Curve25519KeyPair

Curve25519 public and private key stored together.
Mostrar archivo Open project: kwailo888/AxolotlTestApp Class Usage Examples

Public Methods

Method Description
Curve25519KeyPair ( byte publicKey, byte privateKey ) : System.Security.Cryptography

Create a curve 25519 keypair from a public and private keys.

getPrivateKey ( ) : byte[]

Curve25519 private key

getPublicKey ( ) : byte[]

Curve25519 public key

Method Details

Curve25519KeyPair() public method

Create a curve 25519 keypair from a public and private keys.
public Curve25519KeyPair ( byte publicKey, byte privateKey ) : System.Security.Cryptography
publicKey byte 32 byte public key
privateKey byte 32 byte private key
return System.Security.Cryptography

getPrivateKey() public method

Curve25519 private key
public getPrivateKey ( ) : byte[]
return byte[]

getPublicKey() public method

Curve25519 public key
public getPublicKey ( ) : byte[]
return byte[]