C# Class SageKa.Samples.VcSync.SyncEngine.Helpers.Encryption

Show file Open project: Sage/SData-Contracts

Public Methods

Method Description
DecryptString ( string cipherText, string Password ) : string
EncryptString ( string clearText, string Password ) : string

Private Methods

Method Description
DecryptString ( byte cipherData, byte Key, byte IV ) : byte[]
EncryptString ( byte clearText, byte Key, byte IV ) : byte[]

Method Details

DecryptString() public static method

public static DecryptString ( string cipherText, string Password ) : string
cipherText string
Password string
return string

EncryptString() public static method

public static EncryptString ( string clearText, string Password ) : string
clearText string
Password string
return string