|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-07-15 08:53 UTC] misc at atomas dot com
Description: ------------ md5($string) has md5_file($filename) would it be possible to have openssl_digest_file($filename, $method) ? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 02:00:01 2025 UTC |
> would it be possible to have > openssl_digest_file($filename, $method) ? Sure: <?php function openssl_digest_file($filename, $method) { return openssl_digest(file_get_contents($filename), $method); } ?>