New answers tagged

1 vote

Where can I find test vector of dragon and grain128?

Google it. Dragon. See Appendix A below: https://cr.yp.to/streamciphers/dragon-128/desc.pdf Grain. See section 7 on the NIST webpage below: NIST Grain spec I trust you can now search for test vectors ...
  • 16.9k
6 votes

Is there a security risk to use AES-CBC as stream cipher?

You are describing AES-OFB: AES OFB mode. AES-OFB is a fine building block. But it alone isn't enough. It only provides confidentiality, and does not provide integrity. Some textbooks will tell you ...
  • 35.5k
8 votes
Accepted

Is there a security risk to use AES-CBC as stream cipher?

"AES-CBC mode to encrypt `0's to generate blocks of the one-time pad and then use that one-time pad stream to encrypt plain text through XOR" is effectively AES-OFB. It's fine for ...
  • 126k
4 votes

Is there a security risk to use AES-CBC as stream cipher?

AES-CTR, also known as counter mode, is kind of the default stream cipher mode for AES. It as an advantage in the sense that each encryption doesn't rely on previous ciphertext, that it specifies a ...
  • 86.5k

Top 50 recent answers are included