downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<Phar::getModifiedPhar::getStub>
Last updated: Thu, 26 Jun 2008

Phar::getSignature

(PECL phar:1.0.0-1.2.1)

Phar::getSignature — Return MD5/SHA1/SHA256/SHA512 signature of a Phar archive

Description

array Phar::getSignature ( void )

Returns the verification signature of a phar archive in a hexadecimal string.

Parameters

Return Values

Array with the opened archive's signature in "hash" key and "md5", "sha1", "sha256", or "sha512" in "hash_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 phar-based phars if the phar.require_hash INI variable is set to true.



add a noteadd a note User Contributed Notes
Return MD5/SHA1/SHA256/SHA512 signature of a Phar archive
There are no user contributed notes for this page.




<Phar::getModifiedPhar::getStub>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs