Is this encryption method sensitive to weak keys? Is there any reference in the NIST on the AES key's entropy? (For example, must it have been generated from a TRNG?)
Can I safely use the Microsoft CAPI for key generation? (pseudorandom number generation)
Am I required to use true random number generation?
AES doesn't require uniformly distributed keys.
- seems to depend on your definition of "require". Sure you can stick any string of bits of appropriate length into the spot labeled "key" and the algorithm won't raise an exception. But is that really what is meant by "require"?The only time a non-random key is bad for AES is when it's chosen very specifically to be harmful
- If you expect security from the cipher, then surely choosing non-random keys is always bad? – Ella Rose Jul 30 '19 at 15:35