So I was recently asked to encrypt an id, and then somehow take that encryption and display it as part of a URL. Essentially, it was a mock form of security for a new feature at work, so that a user couldn’t just change an id in a url and move around things that should remain private.
_Encryption is an entirely new concept to me.__ I didn’t even know what it really meant. So it was a really big learning exercise for me. Ps. Encryption means to convert data into cipher. Oh and cipher is “diguised way of writing code” (thanks Google ).
1. Ruby has an OpenSSL library used for encryption. This library has greate documention here