コード例 #1
0
ファイル: RSAGenerator.cs プロジェクト: mxm2005/MyQRCode
        //获取公钥
        internal string GetPublicKey()
        {
            string publicKey   = RSACSP.ToXmlString(false);
            string encryptedPK = DESManager.DesEncrypt(publicKey);

            return(encryptedPK);
        }
コード例 #2
0
ファイル: RSAGenerator.cs プロジェクト: mxm2005/MyQRCode
        //获取私钥
        internal string GetPrivateKey()
        {
            string privateKey = RSACSP.ToXmlString(true);

            return(DESManager.DesEncrypt(privateKey));
        }