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

Inheritance: IEncryptionEngine
Datei anzeigen Open project: TheAngryByrd/MetroPass

Public Methods

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

Protected Methods

Method Description
GetCipher ( bool encrypt, byte key ) : IBufferedCipher

Private Methods

Method Description
Process ( byte data, IBufferedCipher cipher ) : 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

GetCipher() protected method

protected GetCipher ( bool encrypt, byte key ) : IBufferedCipher
encrypt bool
key byte
return IBufferedCipher