略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Mhash

2024-04-26

Mhash

add a noteadd a note

User Contributed Notes 2 notes

up
16
Typo
11 years ago
Note:

This extension is obsoleted by Hash.

I thought I would post this here as it took me a few minutes to find out.
up
-5
virgili dot garcia at gmail dot com
6 years ago
You can use:

$s = 'foo';
echo pack('H*', hash('md4', $s));

官方地址:https://www.php.net/manual/en/book.mhash.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3