note 119481 added to function.str-rot13
| From: | php at maildrop dot cc | Date: | Fri, 17 Jun 2016 14:23:03 +0000 |
| Subject: | note 119481 added to function.str-rot13 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-205744@lists.php.net to get a copy of this message | ||
While PHP's rot13 seems already pretty good, we had to implement a more advanced version to
cater to our very high security standards.
Basically the rot13 algorithm is applied iteratively to the point where it is really hard to detect,
making it less obvious how to decrypt the string:
<?php
function rot26($str) {
for($i = 0; $i < 2; $i++) {
$str = rot13($str);
}
return $str;
}
?>
----
Server IP: 72.52.91.14
Probable Submitter: 134.95.150.24
----
Manual Page -- http://php.net/manual/en/function.str-rot13.php
Edit -- https://master.php.net/note/edit/119481
Del: integrated -- https://master.php.net/note/delete/119481/integrated
Del: useless -- https://master.php.net/note/delete/119481/useless
Del: bad code -- https://master.php.net/note/delete/119481/bad+code
Del: spam -- https://master.php.net/note/delete/119481/spam
Del: non-english -- https://master.php.net/note/delete/119481/non-english
Del: in docs -- https://master.php.net/note/delete/119481/in+docs
Del: other reasons-- https://master.php.net/note/delete/119481
Reject -- https://master.php.net/note/reject/119481
Search -- https://master.php.net/manage/user-notes.php