C# Class libaxolotl.ecc.Curve25519KeyPair

Curve25519 public and private key stored together.
Afficher le fichier Open project: kwailo888/AxolotlTestApp Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat System.Security.Cryptography

getPrivateKey() public méthode

Curve25519 private key
public getPrivateKey ( ) : byte[]
Résultat byte[]

getPublicKey() public méthode

Curve25519 public key
public getPublicKey ( ) : byte[]
Résultat byte[]