Information Security Stack Exchange is a question and answer site for information security professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am generating a random number and using the random am generating the AES key of 256 bit. If I use the same random number again, whether it will generate the same AES Key again ? If not means why ?

Thanks in advance..

share|improve this question
    
If thats the only source of random entropy then, of course it would generate the same key. – Ramhound Apr 26 '14 at 18:40

I have only used PBKDF2 and it generates the same key every time. I think that as long as you use the same key derivation function with the same parameters every time (like the random number in this case), it will. I suggest you to read a bit about the key derivation function you are using.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.