Skip to content

Instantly share code, notes, and snippets.

View AlainBartmanDilaw's full-sized avatar
Got this feeling in my body

Alain Léglise AlainBartmanDilaw

Got this feeling in my body
View GitHub Profile
@AlainBartmanDilaw
AlainBartmanDilaw / Aes256CbcEncrypterApp.cs
Created December 1, 2022 16:52 — forked from doncadavona/Aes256CbcEncrypterApp.cs
A sample C# class to encrypt and decrypt strings using the cipher AES-256-CBC used in Laravel.
using System;
using System.Text;
using System.Security.Cryptography;
using System.Web.Script.Serialization;
using System.Collections.Generic;
namespace Aes256CbcEncrypterApp
{
class MainClass
{