Skip to main content

New answers tagged

4 votes
Accepted

How to make a function which produces a hash of variable length?

This is the keystream generation step of a stream cipher, using a password as key. As far as I understand, it hashes the password using SHA-512, then expands the 64-byte result by rehashing every 32-...
fgrieu's user avatar
  • 142k
0 votes

How to make a function which produces a hash of variable length?

As I understand the question, the intent is to use a "password" as a key, and expand this key by generating a series of hash values and concatenating them to be used as keying material for ...
Philippe's user avatar
-2 votes

How to make a function which produces a hash of variable length?

I too play with OTPs. I use batteries, diodes, cameras and a soldering iron. I also leverage the Left Over Hash lemma producing $\epsilon < 2^{-10,000}$. And it is slow. Yet I don’t have a ...
Paul Uszak's user avatar
  • 15.6k

Top 50 recent answers are included