Skip to content

Instantly share code, notes, and snippets.

@DamirLisak
DamirLisak / Aes128Ctr.cs
Last active January 22, 2021 04:57
A c# implementation of the aes counter mode encryption algorithm (aes ctr) based on the javascript version by Chris Veness https://gist.github.com/patches-76431/7483159
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace aes
{
public static class ArrayExtensions
{
/// <summary>