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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ceo at l-i-e dot com
New email:
PHP Version: OS:

 

 [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 23:01:34 2025 UTC