notes/Encrypt a file and upload it-sG2Xa3xU.sh
#Encrypt file
openssl aes-256-cbc -in me.jpg -out me.jpg.enc

#same thing, but output as ASCII
openssl aes-256-cbc -in me.jpg -out me.jpg.enc -a


#If your output is ASCII you can post it online
cat me.jpg.enc|nc termbin.com 9999
http://termbin.com/d6rf


#To retrieve file and decode

curl -s http://termbin.com/d6rf|openssl aes-256-cbc -d -a -out me2.jpg

#view image
display me2.jpg

syntax highlighted by Code2HTML, v. 0.9.1