Skip to content

Instantly share code, notes, and snippets.

@Jargon64
Jargon64 / RSACryptoServiceProviderExtensions.cs
Last active Jun 17, 2021
RSACryptoServiceProvider Extension to add FromXmlString and ToXmlString methods for ASP.NET Core
View RSACryptoServiceProviderExtensions.cs
using System;
using System.Security.Cryptography;
using System.Xml;
namespace RSACryptoServiceProviderExtensions
{
public static class RSACryptoServiceProviderExtensions
{
public static void FromXmlString(this RSACryptoServiceProvider rsa, string xmlString)
{