Added simple cryptography class.