At the request of netizens, I made an example of using MD5 to encrypt user passwords. Now that I have put the example up, experts don’t need to read it.
It's relatively simple, so I won't explain it. You can understand it just by looking at the code. The database is in the DataBase directory, just attach it and modify it.
Database connection in web.config:
<appSettings>
<!--Database connection-->
<add key="MD5" value="server=jiang;uid=sa;pwd=;database=MD5" />
</appSettings>
Just change the database connection to yours.