Phar::getSignature() - Phar类
Phar::getSignature()
(PHP 5 >= 5.3.0, PHP 7, PECL phar >= 1.0.0)
Return MD5/SHA1/SHA256/SHA512/OpenSSL signature of a Phar archive
说明
publicPhar::getSignature(void): arrayReturns the verification signature of a phar archive in a hexadecimal string.
参数
返回值
Array with the opened archive's signature inhashkey andMD5,SHA-1,SHA-256,SHA-512, orOpenSSLinhash_type. This signature is a hash calculated on the entire phar's contents, and may be used to verify the integrity of the archive. A valid signature is absolutely required of all executable phar archives if the phar.require_hash INI variable is set to true.
鹏仔微信 15129739599 鹏仔QQ344225443 鹏仔前端 pjxi.com 共享博客 sharedbk.com
图片声明:本站部分配图来自网络。本站只作为美观性配图使用,无任何非法侵犯第三方意图,一切解释权归图片著作权方,本站不承担任何责任。如有恶意碰瓷者,必当奉陪到底严惩不贷!