public static string GetEncryptedString(string strText) { SynEncryptionManager encryptionManager = new SynEncryptionManager("091008104335AM"); encryptionManager.CryptographyStrategy = new DesCryptography(); encryptionManager.EncryptionValue = strText; return encryptionManager.CreateEncryptor(); }
public static string GetEncryptedString(string strText) { SynEncryptionManager encryptionManager = new SynEncryptionManager("091008104335AM"); encryptionManager.CryptographyStrategy = new DesCryptography(); encryptionManager.EncryptionValue = strText; return(encryptionManager.CreateEncryptor()); }