3 ms·
PBKDF2-SHA256 is used with an iteration count of 1, so it doesn't make the computation any more expensive. I'm using PBKDF2-SHA256 to fulfill the role of "some
by cperciva 13y ago
PBKDF2-SHA256 is used with an iteration count of 1, so it doesn't make the computation any more expensive.
I'm using PBKDF2-SHA256 to fulfill the role of "something which has the same cryptographic strength as SHA256, but produces an arbitrary length output".
- swordswinger12 13y agoHave you looked at the new SHA-3 for this? Seems like you're looking for something like a sponge function. (It's obviously fine as-is, I was just curious)
- cperciva 13y agoThat would have worked fine. Except it didn't exist yet when I wrote spiped. ;-)