Link to home
Start Free TrialLog in
Avatar of ZekeLA
ZekeLAFlag for United States of America

asked on

How many bytes does RijndaelManaged return for a given input size?

I'm using RijndaelManaged to encrypt some data which will then be saved in the database. I'm trying to figure out how large the column has to be. How many bytes does RM return for a given string of length N?

Also, can the Key and Initialization Vector be any collection of bytes as long as they are of the right length?

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Todd Gerbert
Todd Gerbert
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ZekeLA

ASKER

Thank you.