internal void SetPropEncrypted(string name, string value) { string encoded = string.Empty; MerchantTribe.Web.Cryptography.TripleDesEncryption crypto = new MerchantTribe.Web.Cryptography.TripleDesEncryption(); encoded = crypto.Encode(value); SetProp(name, encoded); }
internal string GetPropEncrypted(string name) { StoreSetting s = GetSetting(name); string result = string.Empty; result = s.SettingValue; MerchantTribe.Web.Cryptography.TripleDesEncryption crypto = new MerchantTribe.Web.Cryptography.TripleDesEncryption(); if (result != string.Empty) { result = crypto.Decode(result); } crypto = null; return(result); }
internal string GetPropEncrypted(string name) { StoreSetting s = GetSetting(name); string result = string.Empty; result = s.SettingValue; MerchantTribe.Web.Cryptography.TripleDesEncryption crypto = new MerchantTribe.Web.Cryptography.TripleDesEncryption(); if (result != string.Empty) { result = crypto.Decode(result); } crypto = null; return result; }