Skip to content

Instantly share code, notes, and snippets.

View logic's full-sized avatar

Ed Marshall logic

View GitHub Profile
@shatil
shatil / punnel.py
Created July 27, 2016 17:37
Python OpenSSL libraries' private key signing vs. OpenSSL's rsautl
#!/usr/bin/env python
from __future__ import print_function
import base64
import sys
PEM = ("""-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAgK1Q6Ydi8UUheJLvnTYJE65NOZtAtjDdDSxS+6b4x9EakjIylljSzs5uLEJn
@xchoi
xchoi / gist:1516166
Last active August 30, 2016 20:47
Asian name generator
%w(a e i o u).map {|x|
['', 'a', 'e', 'i', 'o', 'u'].map {|y|
['', 'n', 'ng'].map {|z|
if (x!=y)
%w(l ch).map {|a|
a + x + y + z
}
else
nil
end