Improve error method + fix TEXT_ENCODING in SimpleCrypter