PHP 手册
上一页 |  | 下一页

# LIV. hash Functions

# 简介

Message Digest (hash) engine. Allows direct or incremental processing of arbitrary length messages using a variety of hashing algorithms.

# 需求

The Hash extension requires no external libraries and is enabled by default as of PHP 5.1.2. It may be explicitly disabled by using the --disable-hash switch to configure. Earlier versions of PHP may incorporate the Hash extension by installing the PECL module.

# 资源类型

This extension defines a Hashing Context resource returned by hash_init().

# 预定义常量

以下常量由本扩展模块定义，因此只有在本扩展模块被编译到 PHP 中，或者在运行时被动态加载后才有效。

`HASH_HMAC` (integer)

  Optional flag for hash_init(). Indicates that the HMAC digest-keying algorithm should be applied to the current hashing context.

上一页 | 起始页 | 下一页
HaruPage::textRect | 上一级 | hash_algos