Using openssl for symmetric encryption

Nothing to hand in

Using openssl to encrypt and decrypt

This is a quick walkthrough of the demo in my symmetric encryption video.

More questions about openssl

Use openssl help, openssl enc -help, manual pages, the internet, and experimentation to answer a few more questions.

Getting started with asymmetric encryption: logging into mantis without a password

If you're on the Carleton network and you have a Unix terminal open, you can get a command prompt on mantis.mathcs.carleton.edu like so:

ssh YOUR_USER_NAME@mantis.mathcs.carleton.edu

To avoid typing your password every time you do this, you can create a (public, private) key pair for an asymmetric encryption algorithm like RSA or ECC. Then you can store the private key in a particular place and format on your local machine and the public key inside your mantis account. If those two keys are in the right places, when you execute the ssh command above, you won't need to type a password. We'll discuss the security of this mechanism soon. (It's secure enough that I use this technique extensively in my own digital life, but it's still important to discuss the vulnerabilities.)

For this exercise, find yourself some instructions online for setting this up properly. (For example, you could search for "ssh public key authentication" and get a ton of more-or-less-understandable instruction pages.)

When you're done and the login-without-password is working, here are some follow-up questions: