Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
debesyla
· 5mo ago · 0 comments
Wait, can this format be transformed back to the "normal" format? If so, then it could be kinda viable for some operations... :thinking_emoji:
Comments
[–]
jstanley
5mo ago
No, it can't be transformed back because it has lost information.
2025-06 and 2026-05 both have the same digits, for example.
[–]
mkopinsky
5mo ago
No, it's an unreversible hash function. I use this for passwords - no one will ever be able to figure out what ehntru2 was originally.
[–]
dhosek
5mo ago
I feel confident it would be one of the six permutations of 2, the, run.
[–]
ben_w
5mo ago
hunter2
[–]
ben_w
5mo ago
No, because "12".sort_by_digits() == "21".sort_by_digits()