//获取公钥 internal string GetPublicKey() { string publicKey = RSACSP.ToXmlString(false); string encryptedPK = DESManager.DesEncrypt(publicKey); return(encryptedPK); }
//获取私钥 internal string GetPrivateKey() { string privateKey = RSACSP.ToXmlString(true); return(DESManager.DesEncrypt(privateKey)); }