public string Encrypt(string key, string data) { return(CryptographyProvider.Instance().EncryptParameter(data, key)); }
public string EncryptString(string message, string passphrase) { return(CryptographyProvider.Instance().EncryptString(message, passphrase)); }
public string Decrypt(string strKey, string strData) { return(CryptographyProvider.Instance().DecryptParameter(strData, strKey)); }