js code:
password = '123456'; // password in plain text, the front end can be seen
. let pass = $ base64.encode (password ); // after the preceding plaintext password encryption password invisible
php decrypted code:
$ password = base64_decode ($ params [ 'password']); // you can see the rear end plaintext password
for example: $ pass = md5 ($ password ); // then add their own definition of the rules stored in the database encryption