コード例 #1
0
ファイル: RSAProtection.cs プロジェクト: jquery2005/GMIS
 internal static string Encrypt(string data)
 {
     Gmis.Protection.DataProtection rsaPro=new Gmis.Protection.DataProtection();
     rsaPro.PublicKey=RSAPublicKey;
     string strData=rsaPro.EncryptText(data);
     return strData;
 }
コード例 #2
0
ファイル: RSAProtection.cs プロジェクト: radtek/GMIS
        internal static string Encrypt(string data)
        {
            Gmis.Protection.DataProtection rsaPro = new Gmis.Protection.DataProtection();
            rsaPro.PublicKey = RSAPublicKey;
            string strData = rsaPro.EncryptText(data);

            return(strData);
        }