internal static string Encrypt(string data) { Gmis.Protection.DataProtection rsaPro=new Gmis.Protection.DataProtection(); rsaPro.PublicKey=RSAPublicKey; string strData=rsaPro.EncryptText(data); return strData; }
internal static string Encrypt(string data) { Gmis.Protection.DataProtection rsaPro = new Gmis.Protection.DataProtection(); rsaPro.PublicKey = RSAPublicKey; string strData = rsaPro.EncryptText(data); return(strData); }