C# Class Library.Security.Rsa2048

Exibir arquivo Open project: Alliance-Network/Library Class Usage Examples

Public Methods

Method Description
CreateKeys ( byte &publicKey, byte &privateKey ) : void
Decrypt ( byte privateKey, byte value ) : byte[]
Encrypt ( byte publicKey, byte value ) : byte[]

Method Details

CreateKeys() public static method

public static CreateKeys ( byte &publicKey, byte &privateKey ) : void
publicKey byte
privateKey byte
return void

Decrypt() public static method

public static Decrypt ( byte privateKey, byte value ) : byte[]
privateKey byte
value byte
return byte[]

Encrypt() public static method

public static Encrypt ( byte publicKey, byte value ) : byte[]
publicKey byte
value byte
return byte[]