I wonder if it would be better to have a generic update method instead of ``encrypt()`` and ``decrypt()``. This would enable more generic code written using these classes.