Discussion on the temporary files of the directory #2664
HunDun0Ben
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
📝 Context
In the current implementation of the project, the temporary file directory (tmp/) is generated using the SHA-256 hash of the original directory path. While this approach provides a deterministic and collision-resistant mapping, it introduces a significant limitation:
Since SHA-256 is a one-way hashing algorithm, it is impossible to reverse the hash to identify the original source directory.
🔍 Problem
Due to the irreversible nature of SHA-256:
🙏 Clarification
If I misunderstood part of the project logic or design, I sincerely apologize for any confusion caused.
Beta Was this translation helpful? Give feedback.
All reactions