Skip to content

Instantly share code, notes, and snippets.

View XaveScor's full-sized avatar

XaveScor

  • Astana, Kazakhstan
  • 13:02 (UTC +05:00)
  • LinkedIn in/xavescor
View GitHub Profile
@Jargon64
Jargon64 / RSACryptoServiceProviderExtensions.cs
Last active November 29, 2021 02:11
RSACryptoServiceProvider Extension to add FromXmlString and ToXmlString methods for ASP.NET Core
using System;
using System.Security.Cryptography;
using System.Xml;
namespace RSACryptoServiceProviderExtensions
{
public static class RSACryptoServiceProviderExtensions
{
public static void FromXmlString(this RSACryptoServiceProvider rsa, string xmlString)
{