Skip to content

Instantly share code, notes, and snippets.

View lukywong's full-sized avatar

Luky Wong lukywong

View GitHub Profile
@jhjguxin
jhjguxin / gpg-tour.md
Created July 19, 2013 08:18
GPG 加密解密简明教程 </br> 作者: riku / 本文采用CC BY-NC-SA 2.5协议 授权

GPG 加密解密简明教程

大家都知道,互联网上充斥着大量的明文传输方式,可以说绝对是不安全地带。那么,我们如何保证在不安全的互联网中更可靠的传输重要数据呢?个人认为最好的方式之一就是使用 GPG 工具进行加密。此文只是简单介绍了 GPG 的常规用法,重在推广和普及 GPG 加密工具,详细的使用请参见 GPG 手册。

名词解释

RSA / DSA / ElGamal : 是指加密算法

GPG :(全称 GnuPG ) 是一款非对称加密(PGP)的免费软件,非对称加密方式简单讲就是指用公钥加密文件,用私钥解密文件。如果你想给谁发送加密信息,首先你要得到他的公钥,然后通过该公钥加密后传给他,对方利用自已的私钥就可解密并读取文件了。

@rwinscot
rwinscot / DEV_10587_Sample_01.ino
Created December 18, 2011 05:12
Sketch to drive the SparkFun Music Instrument Shield (VS1053 MP3 and MIDI codec IC) from an Arduino UNO.
/**
* Author: Rick Winscot, Nathan Seidle
* Copyright: PUBLIC DOMAIN ( Beerware License )
*
* Hardware: Arduino UNO R3
* SparkFun Musical Instrument Shield ( http://www.sparkfun.com/products/10587 )
*
* IDE: Arduino 1.0 ( http://arduino.cc/en/Main/Software )
*
* Original sketch by Nathan Seidle on 2-12-2011. Transmogrified by Rick Winscot on 17-12-2011