Is their a clean way to encrypt all form fields or just some of the string fields without having to use Javascript. A simple example would be the default example with Login Capability. The first Login Acton doesnt pass in a model to the view. It takes the password field and then sends it to the controller and the loginviewmodel displays the clear password. I would expect the password field to be encrypted and then in the controlller i call decrypt or unprotect etc.
I am currently looking at the IDataProtector Api. - I am not sure if that will work for what I am wanting.
Maybe custom TagHelper Implementation / HtmlHelper. and custom PasswordFor that maybe uses the IDataProtector Interface...
What do you guys think?
Any advice would be much appreciated:
Regards,
B