Reputation
Next privilege 150 Rep.
Create new tags
Badges
8
Newest
 Critic
Impact
~3k people reached

  • 0 posts edited
  • 1 helpful flag
  • 8 votes cast
Aug
6
comment Is the encryption of a hash a good MAC?
@poncho Hm, you are completely right, I was too focused on another specific case where it wouldn't work.
Jul
6
comment Using a Hash as a secure PRNG
So generally, the NIST wasn't quite sure, but they felt like doing some random stuff would make it more.. random? ;)
Jul
6
comment Using a Hash as a secure PRNG
Yeah but that makes like 2 additional lines, still nowhere near the NIST algorithm
Jul
6
comment Using a Hash as a secure PRNG
As for the flaw in idea 2: That is correct, thanks for pointing that out. As for addition of entropy, what about hash(state || new_seed)? The fixed-length output can also easily be fixed, that's not really a concern I'm afraid.