I am developing an application that requires company login as application loads. For company login, I have used three fields - Company Name, Password and Unlock String. The logic with these fields is; based on company name and password value, unlock string is to be generated. These three values will be given to client and the can login using these values.
I have been looking into a ways by which I can get a string based on two strings. Here using company name and password, a new string is to be generated that I will call unlock code.
What is the best practice for this logic in use in c#, asp.net. i had used RNGCryptoServiceProvider but it always returns dynamic value. I need unlock string to be static based on company name and password.
Any help!!!
Thanks in advance