Skip to content

Instantly share code, notes, and snippets.

View Kasiviswanathan3876's full-sized avatar
💭
I may be slow to respond.

KasiVisu Kasiviswanathan3876

💭
I may be slow to respond.
View GitHub Profile
using System;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using System.Xml.Linq;
using Microsoft.Exchange.WebServices.Data;
using System.Linq;
using System.Net;
using System.Security;
using System.Text;
@Kasiviswanathan3876
Kasiviswanathan3876 / Pkcs7.cs
Created July 17, 2019 19:43 — forked from bitbeans/Pkcs7.cs
PKCS7 padding in C#
/// <summary>
/// Removes the Pkcs7 padding of an array.
/// </summary>
/// <param name="paddedByteArray">The padded array.</param>
/// <returns>The unpadded array.</returns>
/// <exception cref="OverflowException"></exception>
/// <exception cref="ArgumentOutOfRangeException"></exception>
/// <exception cref="ArgumentException"></exception>
/// <exception cref="ArgumentNullException"></exception>
public static byte[] RemovePkcs7Padding(byte[] paddedByteArray)
@Kasiviswanathan3876
Kasiviswanathan3876 / 0.useful.md
Created November 18, 2022 13:54 — forked from felipemoraes/0.useful.md
Machine Learning Interview Questions