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 
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5498e-4c9ce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5498e-4c9ce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?