This question already has an answer here:
I'm trying to educate my self in key management, how to store them, how to generate them, how to use them properly.
I've been trying to find how you would generate a key for symmetric encryption (say AES-128), there is enough to find for public key crypto but that's not what I'm looking for.
For what I understand so far is that simply generating a 128 bit random number through a crypto-secure RNG would be sufficient, Is this correct? or are there special algorithms for creating an aes key?
The key will probably be generated when we flash our embedded devices, so it will be done on a windows PC.