Reputation: 94038
It seems that the documentation of the AesManaged.KeySize
property is lacking the default value. There is a statement about the maximum key size:
The maximum size of the key is 256 bits.
in the remarks. But since the AES algorithm is able to handle keys of 128, 192 or 256 bit, the actual default may not be 256. So...what is it?
Upvotes: 3
Views: 7075
Reputation: 94038
It seems that AesManaged.KeySize
will return 256 by default, at least for .NET version 4.5.
Upvotes: 5