Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does anyone know of a desktop application that will allow me to type/paste a string, the string is encrypted, I can then copy and paste it somewhere else, e.g., email, IM. The person on the other end, and I, would have a pre-shared password. They can use that password to decrypt the string using the same software.

Ideally this software is for Mac OS X. However, I can possibly work with Linux, scripts, Windows, etc. I'm not likely to use a web app or browser plug-in.

share|improve this question

closed as unclear what you're asking by Tog, Dave M, Breakthrough, Sklivvz Oct 1 '13 at 15:59

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

up vote 1 down vote accepted

You could use a custom 'workflow' with Alfred for OSX.

I haven't tested it, but this blog post looks like what you want.

For more ideas about what Alfred can do, check out https://github.com/zenorocha/alfred-workflows

share|improve this answer
    
referring sites will be a good option ,but consider summarizing the content from the site –  BlueBerry - vignesh4303 Sep 25 '13 at 3:59

You can use openssl:

$  openssl enc -aes-256-cbc -a -in <(printf %s 'text to encrypt')
enter aes-256-cbc encryption password:
Verifying - enter aes-256-cbc encryption password:
U2FsdGVkX1/Tz3HOSTTHE/cZlb05EwFv8sKQ1Bhe0yQ=
$ echo U2FsdGVkX1/Tz3HOSTTHE/cZlb05EwFv8sKQ1Bhe0yQ= > temp.enc
$ openssl enc -d -aes-256-cbc -a -in temp.enc
enter aes-256-cbc decryption password:
text to encrypt$ 

Prefixing the first command with a space tells the shell not to save the command to a history list. -a uses Base64.

Encrypting and decrypting files:

openssl enc -aes-256-cbc -a -in file -out file.enc
openssl enc -d -aes-256-cbc -a -in file.enc -out file
share|improve this answer

You can use PGP (available on all platform) and since you mentioned email, you can set up private key on both end (either the same or different private key), and use your public key to encrypt your email, and your private key to decrypt and read the email.

The 2 options you can do: 1 Private Key shared between the two of you - not recommended but doable.

2 individual private key, and you both simply sharing public keys (you have each other's public key)

Hope this helps.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.