I am looking to expand beyond this question: Obfuscating POST variables between Javascript & PHP
Where I came up with this solution : http://pastebin.com/YuAAZTLi
It work's 95% of the time but the 5% I can't really deal with. It's hard to really base it on the time of two different servers. And sending the rot with the variables is just too easy to crack.
I need something that changed each and every time hopefully, because I dont want the HTTP POST requests just to be duplicated. What encyrption methods exist interchangeably between javascript and PHP that allow for md5 type encryption. Where
4500 looks something like Dusfh7sfSFJf78dfns8 and 4501 something like JF7Fhene7fdHfdshf6d ..nothing alike even though they are 1 digit off.
External Librarys are permitted but please make sure you link both a php and javascript counterpart.