Cryptography - Working with encrypting and decrypting keys