- , -.
| id | hash | timestamp | random_key |
| 1 | some-hash | 125346164 | 21415 |
| 2 | some-other-hash | 123513515 | 25151 |
, :
www.example.com/verify/some-hash
:
www.example.com/verify/1
id
, , random_key.
$id = 1;
$timestamp = 125346164;
$randomKey = 21415;
$key = base64_encode($timestamp . $randomKey . $id);
echo 'http://www.domain.com/verify/' . $key;
, , , , , URL- 2000 . , , 32 , .
: uuid, , , , , , d3d29d70-1d25-11e3-8591-034165a3a613
.