HASH Message Digest Framework

Коментарии

Hashes are important to fix CSRF vulnerabilities - for example somebody could link to the upvote arrow on this page and post a link to someplace like Reddit.

Example:
http://us2.php.net/manual/vote-note.php?id=XXXXX&page=function.hash-algos&vote=up

Then people would visit the link in their browser (or load it an in iFrame etc) and it would upvote the link without their knowledge or consent.

If a has was generated for each viewer then you couldn't accomplish this ;)
2012-12-20 23:29:51
http://php5.kiev.ua/manual/ru/book.hash.html

    Поддержать сайт на родительском проекте КГБ