php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #37063 Is md5 binary-safe?
Submitted: 2006-04-13 01:00 UTC Modified: 2006-04-23 14:07 UTC
From: ceo at l-i-e dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2006-04-13 01:00 UTC] ceo at l-i-e dot com
Description:
------------
Is md5 binary-safe?

I would think it would be, but it doesn't say it is...


Reproduce code:
---------------
$jpeg = file_get_contents('test.jpg');
$md5 = md5($jpeg);
//store $md5 in database to detect changes to test.jpg later



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-23 14:07 UTC] bjori@php.net
Its kinda given that it is...
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 19:01:34 2025 UTC