Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • $\begingroup$ What If I will used a 160 bits key? If I will encrypt a blocksize of 128 bits of plaintext? $\endgroup$ Commented Apr 30, 2012 at 9:15
  • $\begingroup$ key size and block size are independent, you could use a 160 bit key and 128 bit blocksize in rijndael. But why do you want to use a 160 bits key? Why don't you use one of the standard sizes? $\endgroup$ Commented Apr 30, 2012 at 9:16
  • $\begingroup$ so therefore If I will encrypt a plaintext blocksize of 128 bits, I will use only a 32-128 bits of secret key? 192 bits, I will use a 32-192 bits of secret key? 256 bits, I will use a 32-256 bits of secret key? $\endgroup$ Commented Apr 30, 2012 at 9:18
  • $\begingroup$ @JohnPaulParreño That makes no sense at all. AES always uses the full secret key. I don't see how plaintext size and keysize are related. $\endgroup$ Commented Apr 30, 2012 at 9:21
  • $\begingroup$ what? I'm confused, but you said before why don't I use one of the standard sizes, i thought If I will encrypt a 128 bits of plaintext, I can used a 128 bits of key... $\endgroup$ Commented Apr 30, 2012 at 9:26