namespace Masuit.Tools.Security;
///
/// RSA密钥对
///
public class RsaKey
{
///
/// 公钥
///
public string PublicKey { get; protected internal set; }
///
/// 私钥
///
public string PrivateKey { get; protected internal set; }
public void Deconstruct(out string publicKey, out string privateKey)
{
publicKey = PublicKey;
privateKey = PrivateKey;
}
}