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

<mhash_countmhash_get_hash_name>
Last updated: Thu, 26 Jun 2008

mhash_get_block_size

(PHP 4, PHP 5)

mhash_get_block_size — Get the block size of the specified hash

Description

int mhash_get_block_size ( int $hash )

Gets the size of a block of the specified hash .

Parameters

hash

The hash id. One of the MHASH_XXX constants.

Return Values

Returns the size in bytes or FALSE, if the hash does not exist.

Examples

Example #1 mhash_get_block_size() Example

<?php

echo mhash_get_block_size(MHASH_MD5); // 16

?>



add a noteadd a note User Contributed Notes
Get the block size of the specified hash
There are no user contributed notes for this page.




<mhash_countmhash_get_hash_name>
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