C# Class BraintreeEncryption.Library.Aes

ファイルを表示 Open project: braintree/braintree_windows_phone_encryption Class Usage Examples

Public Methods

Method Description
Aes ( ) : System
Encrypt ( string dataToEncrypt, byte aesKey ) : string
EncryptWithIv ( string dataToEncrypt, byte aesKey, byte iv ) : string
GenerateIV ( ) : byte[]
GenerateKey ( ) : byte[]

Method Details

Aes() public method

public Aes ( ) : System
return System

Encrypt() public method

public Encrypt ( string dataToEncrypt, byte aesKey ) : string
dataToEncrypt string
aesKey byte
return string

EncryptWithIv() public method

public EncryptWithIv ( string dataToEncrypt, byte aesKey, byte iv ) : string
dataToEncrypt string
aesKey byte
iv byte
return string

GenerateIV() public method

public GenerateIV ( ) : byte[]
return byte[]

GenerateKey() public method

public GenerateKey ( ) : byte[]
return byte[]