How do I use the md5 () function to encrypt the primary key ID in a mysqli statement?

as shown in the figure, the result is available after encryption, but the id read from the front end becomes md5 (id)?

Mar.20,2021

you can select md5 ( id ) as id finds out that it is id


query id and query md5 (id) separately

md5(id) as md5_id, id 
Menu