I am doing some kind of unsubscribe page.
My idea is using the get method with encryption. for example:
unsubscribe.php?mail=xxxxxxxxxxxxxxxx&uid=xxxxxxxxxxxxxxxxxx
It can automatically unsubscibe the receiver once he click the link.
I am going to encrypt the data using sha1 so the problem is
1) is it secure? 2) Whether i have to make a extra 2 field for the encrypted uid and mail address?
Thank you