3 ms·
It seems you use too small set of words? I can't see the source on this device, but it looks so. Secret salt would have to be the same everywhere. So it has no
by acqq 12y ago
It seems you use too small set of words? I can't see the source on this device, but it looks so.
Secret salt would have to be the same everywhere. So it has no sense to think about it. Just a good hash is needed, hard enough not to be brute forced, like scrypt.
- neftaly 12y agoYou only need ~4k words for 2 bytes-per-word alphanumeric encoding (keyspaceLength^bytesPerWord). There is a "special" dictionary identifier prefix and a padding indicator postfix, however (mostly for dev purposes). Scrypt would probably be fine, though the addition of a secret salt (wouldn't need entropy, just secrecy) would be much better. On reflection, XOR would be stupid bad :B