Blankman
Blankman

Reputation:

RijndaelManaged supports 128-256 bit key, what key size the default constructor generator?

For new RijndaelManaged(), the documentation says it supports keys of 128 bits and up to 256 bits.

When you instantiate new RijndaelManaged(), it creates the Key and IV for you.

What size does it default to, 128 bits?

Upvotes: 20

Views: 11018

Answers (1)

leppie
leppie

Reputation: 117310

The default key size is 256 bits, while the default blocksize is 128 bits.

Upvotes: 23

Related Questions