Re:DarkJPEG
by yid on Monday July 22, 2013 @07:19PM
(#6087151)
What, pray, is "SHA3 key generation"
[ Parent
| on HN ]
init(SHA3(pass + s));
https://github.com/darkjpeg/darkjpeg.github.io/blob/07171bd0...
Re:DarkJPEG
by capnrefsmmat on Monday July 22, 2013 @10:08PM
(#6087759)
That's worrisome; they should be using a purpose-built key derivation function, like PBKDF2, bcrypt or scrypt. Using only SHA3 means it is easy to brute-force the key by searching for likely passwords.
Re:DarkJPEG
by harshreality on Monday July 22, 2013 @08:36PM
(#6087440)
That they're using SHA3 as a key generation function to convert a passphrase to a key for encryption? What else would it mean?
See the reply by capnrefsmmat
Re:DarkJPEG
by harshreality on Tuesday July 23, 2013 @11:33PM
(#6094365)
The wisdom of using a homegrown sha-3 based algorithm for key generation is separate from what "sha-3 key generation" means.
Well it's got to be super sekrit so it needs the best SHA algorithm, what better than the one that even the NSA hasn't picked yet? :-)
I thought Keccak has already been chosen to be SHA-3, is it not the case?
Oh I'm sure the NSA has already picked it ;) NIST just hasn't yet...
Re:DarkJPEG
by harshreality on Monday July 22, 2013 @08:43PM
(#6087460)
Keccak was picked by NIST last October as the winner of the SHA-3 competition.