It depends ... you need to set a maximum length for your password on the user interface side before its encrypted, of say, 20 characters. Then you need to generate a password hash for a 20 character string and make your database column about %20 longer than that value just to be safe. I use
varchar
since i'm doing english-only applications but I suppose you really should be usingnvarchar
to be "proper".Please mark this thread as solved if you have found a solution to your issue and good luck!
Great!
I'll see what I can do with the password limit. That's a good idea.
Thanks for the help!