Gmagick
PHP 手册

Gmagick::getimagesignature

(PECL gmagick >= Unknown)

Gmagick::getimagesignatureGenerates an SHA-256 message digest

说明

public void Gmagick::getimagesignature ( void )

Generates an SHA-256 message digest for the image pixel stream.

参数

This function has no parameters.

返回值

Returns a string containing the SHA-256 hash of the file.

错误/异常

Throws an GmagickException on error.


Gmagick
PHP 手册