<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def encrypt(self, password):
 """Encrypt the password. """

        if not password or not self._crypter:
            return password or b''
        return self._crypter.encrypt(password)