Skip to content

Instantly share code, notes, and snippets.

View lshelper's full-sized avatar

Vanya B. lshelper

  • Moscow
View GitHub Profile
@lshelper
lshelper / password_encryption.cs
Created August 23, 2025 10:26
Password Encryption .net core example
using System;
using System.Numerics;
using System.Security.Cryptography;
using System.Text;
public static class PasswordEncoder
{
/// <summary>
/// Encrypts a password using RSA public key encryption
/// </summary>