C# Class MtGoxTrader.Model.Encryption

Mostra file Open project: iamapi/MtgoxTrader

Public Methods

Method Description
DecryptData ( byte encryptedData ) : byte[]
DecryptData ( string encryptedData ) : string

Encrypt using LocalMachine profile.

EncryptData ( byte plainByteData ) : byte[]
EncryptData ( string plainData ) : string

Decrypt using LocalMachine profile.

Method Details

DecryptData() public static method

public static DecryptData ( byte encryptedData ) : byte[]
encryptedData byte
return byte[]

DecryptData() public static method

Encrypt using LocalMachine profile.
public static DecryptData ( string encryptedData ) : string
encryptedData string
return string

EncryptData() public static method

public static EncryptData ( byte plainByteData ) : byte[]
plainByteData byte
return byte[]

EncryptData() public static method

Decrypt using LocalMachine profile.
public static EncryptData ( string plainData ) : string
plainData string
return string