C# Class Secp256k1.ECEncryption

Mostrar archivo Open project: TangibleCryptography/Secp256k1

Public Methods

Method Description
Decrypt ( System.Numerics.BigInteger privateKey, byte cipherData ) : byte[]
ECEncryption ( ) : System
Encrypt ( ECPoint publicKey, byte data ) : byte[]
Encrypt ( ECPoint publicKey, string message ) : byte[]

Method Details

Decrypt() public method

public Decrypt ( System.Numerics.BigInteger privateKey, byte cipherData ) : byte[]
privateKey System.Numerics.BigInteger
cipherData byte
return byte[]

ECEncryption() public method

public ECEncryption ( ) : System
return System

Encrypt() public method

public Encrypt ( ECPoint publicKey, byte data ) : byte[]
publicKey ECPoint
data byte
return byte[]

Encrypt() public method

public Encrypt ( ECPoint publicKey, string message ) : byte[]
publicKey ECPoint
message string
return byte[]