Encryption and Decryption has now been abstractified and is working.