Skip to content

Instantly share code, notes, and snippets.

jiavictor

Block or report user

Report or block jiavictor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jiavictor
jiavictor / AES256.cs
Last active Sep 5, 2019
Simple AES-256-CBC Test
View AES256.cs
using System;
using System.Text;
using System.Security.Cryptography;
namespace AES256
{
class Program
{
private string encrypt(string clearText, string secretKey, string initVector)
{
@jiavictor
jiavictor / AES128.cs
Last active Sep 5, 2019
Simple AES-128-CBC Test
View AES128.cs
using System;
using System.Text;
using System.Security.Cryptography;
namespace AES128
{
class Program
{
private string encrypt(string clearText, string secretKey, string initVector)
{
@jiavictor
jiavictor / TripleDES.cs
Last active Sep 3, 2019
Simple Triple-DES-ECB Test
View TripleDES.cs
using System;
using System.Text;
using System.Security.Cryptography;
namespace TripleDES
{
class Program
{
private string encrypt(string clearText, string secretKey)
{
You can’t perform that action at this time.