from passlib.hash import sha256_crypt


def create_elog_password_hash(password):
    """Create a SHA256 encrypted password for ELOGs."""

    return sha256_crypt.encrypt(password, salt="", rounds=5000)[4:]