First of all, thanks in advance for reading this thread.
You see, I use the following functions to encrypt / decrypt some variables at the server level and create URLs. I already use this function: link They even helped me right here with some doubts I had (here the link): Encrypt and Decrypt ID obtained by GET parameter in php
The problem is the following: I'm removing content with ajax, and for that, each container in HTMl I put a unique identifier encrypted. The problem is that for example: if the ID of the record is 1 the structure that throws me the previous functions is something like this:
t + i + 6lJ95 / fVPYL9 + wPkaKc8RGheD / lbkx7chHT / zl4 =
That is, the enriched result has the characters "/", "+", "=". Then, trying to manipulate those identifiers from jquery throws me these errors.
Then it occurs to me, to encrypt my IDs MD5 style. That is, pure numbers and letters, like this:
c4ca4238a0b923820dcc509a6f75849b
However, I have known in advance that MD5 can not be decrypted, so I would like you to help me to orientate myself as (using the function that I currently have or creating a new one), I can encrypt my IDs but as a result only have numbers and letters, like this:
c4ca4238a0b923820dcc509a6f75849b
Thank you very much for your guidance. Greetings
PS: It is important to describe the result to obtain the identifier and be able to delete the database.