Re:OneName – Distributed Identity Database using Namecoin
by mappum on Monday March 10, 2014 @03:01PM
(#7374977)
Sha256 is not a suitable key derivation function. Attackers could then crack the keys pretty easily (now the keys are only as secure as the passphrases). Use something like pbkdf2/bcrypt/scrypt.
[ Parent
| on HN ]
Re:OneName – Distributed Identity Database using Namecoin
by jude- on Monday March 10, 2014 @04:40PM
(#7375547)
How so? SHA256, pbkdf2, bcrypt, and scrypt are all deterministic--in all cases, I can get your key if I know your secret (passphrase and salt).
Admittedly, though, using SHA256(passphrase) without a salt to derive a key makes dictionary attacks easier than the others.