import getpass


def get_pass(prompt):
    """Ask the user for a password.

    Args:
        prompt (unicode):
            The text to prompt the user with.

    Returns:
        bytes:
        The entered password.
    """
    return getpass.getpass(str(prompt))