using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Security.Cryptography; using System.Text; using System.IO; namespace screentestbrijesh.App_Code { public class EncryptionManager { public string EncryptData(string clearText) { string EncryptionKey = "MAKV2SPBNI99212GFFDRBKJHKUA547765992775497HGFK6FF9LON00012SSDFFG"; byte[] clearBytes = Encoding.Unicode.GetBytes(clearText); using (Aes encryptor = Aes.Create()) { Rfc2898DeriveBytes pdb = new Rfc2898DeriveBytes(Encryp...
Comments
Post a Comment