20

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?

SwDevMan81
  • 45,922
  • 20
  • 140
  • 177

1 Answers1

23

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

leppie
  • 109,129
  • 16
  • 185
  • 292
  • The documentation confirms: https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.rijndaelmanaged.keysize?view=netstandard-2.1&viewFallbackFrom=netframework-4.8 – KnotGillCup Sep 19 '19 at 10:13