Skip to content

Instantly share code, notes, and snippets.

View nguyenntuong's full-sized avatar

Tuong Nguyen nguyenntuong

View GitHub Profile
@nguyenntuong
nguyenntuong / Program.cs
Created December 2, 2019 13:23
DownloadBar_CLI_C#
using System;
using System.IO;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace PBCLI
{
class Program
{
### Keybase proof
I hereby claim:
* I am nguyenntuong on github.
* I am yuigahama (https://keybase.io/yuigahama) on keybase.
* I have a public key ASA9fxU6pPlnj_OddChtzi5_ZgcCiGuY4JZwZ-gD5Ryy6go
To claim this, I am signing this object:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="Jake Albaugh">
<title>JUNO_OKYO</title>
</head>
<body>
<!-- Simple audio playback -->
@nguyenntuong
nguyenntuong / AesExample.cs
Created January 3, 2019 14:50 — forked from magicsih/AesExample.cs
AES Encryption/Decryption Example in C#
using System;
using System.Security.Cryptography;
using System.Text;
namespace AesExample
{
class Program
{
private const string ORIGINAL = "this is some data to encrypt";
private const string SAMPLE_KEY = "gCjK+DZ/GCYbKIGiAt1qCA==";