There's another way you can handle this. You can call create a class called UserIdentity with a string property named Password, then create an Extension methods for encrypt and decrypt. Just don't keep in in memory unencrypted.
>I agree. It was kind of fun to name my own class the same as the .NET class. At least I learned, first hand, of the value of namespace.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer