Skip to content

Instantly share code, notes, and snippets.

View rafaelquines's full-sized avatar

Rafael Quines rafaelquines

  • Mercado Livre
  • São Paulo/SP
View GitHub Profile
@rafaelquines
rafaelquines / AES.cs
Created January 29, 2021 14:33 — forked from mhingston/AES.cs
AES-256-CBC for C# and Node
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
class AES
{
public static string Encrypt(string plainText, string keyString)
{
byte[] cipherData;
@rafaelquines
rafaelquines / letsencrypt
Created February 13, 2019 12:28 — forked from jfollmann/letsencrypt
Geração de Certificado SSL com Let's Encrypt
Geração de certificado SSL com o Let's Encrypt
#1) Instalação
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot
#2) Geração de um novo certificado