return SUCCESS;
}
-/* {{{ proto int mhash_count()
- get the number of available hashes */
+/* {{{ proto int mhash_count(void)
+ Gets the number of available hashes */
PHP_FUNCTION(mhash_count)
{
RETURN_LONG(mhash_count());
/* }}} */
/* {{{ proto int mhash_get_block_size(int hash)
- get the block size of hash */
+ Gets the block size of hash */
PHP_FUNCTION(mhash_get_block_size)
{
pval **hash;
/* }}} */
/* {{{ proto string mhash_get_hash_name(int hash)
- get the name of hash */
+ Gets the name of hash */
PHP_FUNCTION(mhash_get_hash_name)
{
pval **hash;
/* }}} */
-/* {{{ proto string mhash(int hash, string data, [string key])
- hash data with hash */
+/* {{{ proto string mhash(int hash, string data [, string key])
+ Hash data with hash */
PHP_FUNCTION(mhash)
{
pval **hash, **data, **key;
/* }}} */
/* {{{ proto string mhash_keygen_s2k(int hash, string input_password, string salt, int bytes)
- generate a key using hash functions */
+ Generates a key using hash functions */
/* SALTED S2K uses a fixed salt */
#define SALT_SIZE 8
PHP_FUNCTION(mhash_keygen_s2k)