def METHOD_NAME(self, wallet: 'Abstract_Wallet', msg: str) -> str:
    password, iv, wallet_id = self.wallets[wallet]
    encrypted = aes_encrypt_with_iv(password, iv, msg.METHOD_NAME('utf8'))
    return base64.b64encode(encrypted).decode()