Check (Verify) if Password is encrypted or not in ASP.Net

Last Reply one month ago By dharmendr

Posted one month ago

Hi,

I have faceing some issue, check if Password is encrypted or not using c#.

Please helpe me.

Thanks

irshad

Posted one month ago

Hi irshadmpct,

No, there is no reliable way to know whether the data you are checking has already been encrypted or not.

You need to add additional structure to the string.

You need to prefix the encrypted string with some string to determine whether string is encrypted or not by checking StartsWith method.