Added new methods to SimpleCipher.