3 ms·
Hash? Why would you do any hashing? The domain is only so large so it's meaningless even if you cared about keeping the original bytes in RAM (which you don't)
by pxx 3y ago
Hash? Why would you do any hashing? The domain is only so large so it's meaningless even if you cared about keeping the original bytes in RAM (which you don't).
This is the same concept behind the fact that it typically makes little to no sense to hash phone numbers or credit card numbers.
- GoblinSlayer 3y agoIt makes sense if your password is something like hc0z3kjwedngwh4hgwct0-hunter2.
- Xophmeister 3y agoThe way my clipboard-clearer worked would have exposed* the plaintext secret if it wasn't hashed. Surely this would be generally true; however, in my case, it would have been particularly trivial to exfiltrate. (* The clipboard exposure was more limited...although probably only in a "security by obscurity" sense :P)