Open-source implementation of SSL and TLS
protocols
SHA-1
openssl dgst -sha1 plaintext
SHA-2
openssl dgst –sha256 plaintext
openssl dgst –sha512 plaintext
openssl enc –aes128 -e -in plaintext -out c.aes
openssl enc –aes128 -d -in c.aes -out c.aes.dec
openssl genrsa -out priv.pem
openssl rsa –text –in priv.pem –out priv.pem.info
p , q , N , d , e
openssl rsa –in priv.pem –pubout –out pub.pem
openssl rsa –text –pubin –in pub.pem
–out public.pem.info
N , e
openssl rsautl –encrypt –pubin –inkey pub.pem
–in plaintext –out ciphertext
openssl rsautl -decrypt -inkey priv.pem
-in ciphertext -out cipheretext.decrypt
・factordb
http://factordb.com/
・yafu
http://sourceforge.net/projects/yafu/
・Cado-NFS
http://cado-nfs.gforge.inria.fr/
・Mesieve
https://github.com/Tojaj/rsaalgorithm/tree/master/msieve-1.51
rsatool
https://github.com/ius/rsatool
computing d with given N , e , p , q
construct .pem with given N , d