Skip to main content
3 of 3
added 3 characters in body; edited tags
Cryptographeur
  • 4.3k
  • 2
  • 29
  • 40

How do I produce a stream of secure random numbers from AES-Counter mode?

I have just made my own program to encipher, using AES in counter mode, and have validated it using NIST data. So I know I have done it properly.

I have read that AES-CTR can produce a stream of random numbers. To achieve this, what do I feed in as the plaintext? Will any text do? Does it matter if the plaintext has repetitions?

user2256790
  • 443
  • 4
  • 12