I am using RijndaelManaged 128 bit encryption to encrypt passwords in my ASP.NET application. What should the password column size be in the database (SQL Server 2008).
I am using RijndaelManaged 128 bit encryption to encrypt passwords in my ASP.NET application.
Share
Microsoft uses nvarchar(128) for their SqlMembershipProvider which provides for Rijndael symmetrical encryption and a maximum password size of 128, so I would say that’s a safe bet. Obviously, if you allow for longer passwords, you’ll need more space.