def load_key(keyfile: str, *args) -> bytes:
    """Loads key from keyfile

    Arguments:
        keyfile (str): name of the file to load

    Returns:
        key (bytes): bytes encoded key
    """
    with open(keyfile, "r") as kf:
        key = kf.read()
    return key.encode()