mhash_get_block_size

(PHP 4, PHP 5, PHP 7)
Gets the block size of the specified hash
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_hashname constants.

Returns:

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

Examples:
mhash_get_block_size() Example
<?php

echo mhash_get_block_size(MHASH_MD5); // 16

?>

doc_php
2016-02-24 15:56:03
Comments
Leave a Comment

Please login to continue.