note 102806 added to function.md5

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
<?php

/*
 * Absolutely safe MD5.
 * Uses all the characters (small and large letters,
 * numbers and symbols).
 *
 * powered by mimic | am0k.cz
 */

function umd5($in)
{
  $db = '';
  $field = preg_split('//', $in);
  foreach ($field as $key => $row)
  {
    if (!$key || $key > strlen($in)) continue;
    if ($key == 1) $db.= '[Beg1n]-> {';
    $db.= 'i:'.floor(ord($row) * pi());
    if ($key == strlen($in)) $db.= '} <- [End]';
  }
  return md5($db);
}

echo 'Ultra: '.umd5('password');
echo '<br>';
echo 'Normal: '.md5('password');

?>
----
Server IP: 69.147.83.197
Probable Submitter: 46.183.64.30
----
Manual Page -- http://www.php.net/manual/en/function.md5.php
Edit        -- https://master.php.net/note/edit/102806
Del: integrated  -- https://master.php.net/note/delete/102806/integrated
Del: useless     -- https://master.php.net/note/delete/102806/useless
Del: bad code    -- https://master.php.net/note/delete/102806/bad+code
Del: spam        -- https://master.php.net/note/delete/102806/spam
Del: non-english -- https://master.php.net/note/delete/102806/non-english
Del: in docs     -- https://master.php.net/note/delete/102806/in+docs
Del: other reasons-- https://master.php.net/note/delete/102806
Reject      -- https://master.php.net/note/reject/102806
Search      -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.