Skip to content

Instantly share code, notes, and snippets.

@lukas2
Created February 2, 2013 23:01
Show Gist options
  • Select an option

  • Save lukas2/4699636 to your computer and use it in GitHub Desktop.

Select an option

Save lukas2/4699636 to your computer and use it in GitHub Desktop.

Revisions

  1. lukas2 created this gist Feb 2, 2013.
    7 changes: 7 additions & 0 deletions cryptohelpers (osx)
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    function decryptc(){
    pbpaste > /tmp/encrypted_message.txt; gpg -d /tmp/encrypted_message.txt | pbcopy; rm /tmp/encrypted_message; pbpaste
    }

    function encryptc(){
    pbaste | gpg -e -a -r $1 | pbcopy
    }