Remix.run Logo
debesyla 3 hours ago

Wait, can this format be transformed back to the "normal" format? If so, then it could be kinda viable for some operations... :thinking_emoji:

jstanley 3 hours ago | parent | next [-]

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 2 hours ago | parent | prev | next [-]

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.

ben_w 3 hours ago | parent | prev [-]

No, because "12".sort_by_digits() == "21".sort_by_digits()