Skip to content

Instantly share code, notes, and snippets.

View ratthapon's full-sized avatar

Rattaphon Hokking ratthapon

  • King Mongkut's Institute of Technology Ladkrabang
  • Thailand
View GitHub Profile
@ratthapon
ratthapon / ca.md
Created July 9, 2020 06:27 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@ratthapon
ratthapon / encrypt_openssl.md
Created July 7, 2020 09:27 — forked from dreikanter/encrypt_openssl.md
File encryption using OpenSSL

Symmetic encryption

For symmetic encryption, you can use the following:

To encrypt:

openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt

To decrypt:

@ratthapon
ratthapon / README-Template.md
Created June 14, 2017 09:46 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites