C# Class MetroPass.WinRT.Infrastructure.Encryption.WinRTCrypto

Inheritance: IEncryptionEngine
显示文件 Open project: TheAngryByrd/MetroPass

Public Methods

Method Description
Decrypt ( byte data, byte key, byte iv ) : Task
Encrypt ( byte data, byte key, byte iv ) : Task

Private Methods

Method Description
GetSymmetricKeyAlgorithmProvider ( ) : SymmetricKeyAlgorithmProvider
Process ( byte data, byte key, byte iv, Func cryptoAction ) : Task

Method Details

Decrypt() public method

public Decrypt ( byte data, byte key, byte iv ) : Task
data byte
key byte
iv byte
return Task

Encrypt() public method

public Encrypt ( byte data, byte key, byte iv ) : Task
data byte
key byte
iv byte
return Task