Added custom exceptions for Encryption and Decryption that inherit from StandardError.
Prefer exception handling rather than returning false.