hash_init

hash_init

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1)

hash_initInitialize an incremental hashing context

Description

resource hash_init ( string $algo [, int $options = 0 [, string $key = NULL ]] )

Parameters

algo

Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..). For a list of supported algorithms see hash_algos().

登录查看完整内容