def METHOD_NAME(app: App) -> str:
    hash = hashlib.md5()
    file_paths = [app_path] + app.css_path
    for path in file_paths:
        assert path is not None
        with open(path, "rb") as source_file:
            hash.update(source_file.read())
    hash.update(f"{press}-{hover}-{title}-{terminal_size}".encode("utf-8"))
    cache_key = f"{hash.hexdigest()}.svg"
    return cache_key