u/DasagaJr-34

Key Expansion

Hello everyone,

I need some help resolving a question I have.

Let’s say I want to expand a key. In other words, I have 256 bits of pure entropy, and I want to distribute or expand it into, for example, 40 × 256 bits = 10,240 bits in total.

Should I use a PRNG directly for this purpose, ideally a cryptographically secure PRNG/CSPRNG, or should I perform the expansion using a KDF function?

From what I have managed to research, the KDF-based approach seems to be more common. Is that correct?

reddit.com
u/DasagaJr-34 — 9 days ago