note 111374 deleted from function.md5 by danbrown
| From: | danbrown@php.net | Date: | Tue, 05 Mar 2013 16:05:40 +0000 |
| Subject: | note 111374 deleted from function.md5 by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-193909@lists.php.net to get a copy of this message | ||
Note Submitter: user at kochira dot com
----
Re. John's post below - there is faster way to get the base_64 version of md5 using the new
(v5) raw_data parameter:
<?php
function md5_base64 ( $data ) {
return preg_replace('/=+$/','',base64_encode(md5($data,true)));
}
?>