How do I send generated encrypted password from C# to MySQL

The standard way to do this is to send it from the form to your API in cleartext (but using HTTPS, this is essential), then hash it on your backend (seperate issue how to do this), and finally save that hash in the MYSQL database. You do not want to encrypt passwords, you want to hash them.

Leave a Comment