Module Interface¶
- fnvhash-c.fnv1_32(data: bytes, hval_init: int)¶
Returns the 32 bit FNV-1 hash value for the given data.
Note
dataaccepts bytes object only.hval_initsets the initial value of the loop algorithm,should input a integer which is above zero.
- fnvhash-c.fnv1a_32(data: bytes, hval_init: int)¶
Returns the 32 bit FNV-1a hash value for the given data.
Note
dataaccepts bytes object only.hval_initsets the initial value of the loop algorithm,should input a integer which is above zero.
- fnvhash-c.fnv1_64(data: bytes, hval_init: int)¶
Returns the 64 bit FNV-1 hash value for the given data.
Note
dataaccepts bytes object only.hval_initsets the initial value of the loop algorithm,should input a integer which is above zero.
- fnvhash-c.fnv1a_64(data: bytes, hval_init: int)¶
Returns the 64 bit FNV-1a hash value for the given data.
Note
dataaccepts bytes object only.hval_initsets the initial value of the loop algorithm,should input a integer which is above zero.
- fnvhash-c.CityHash32(str)¶
Returns the 32 bit CityHash value for the given data.
Note
Accepts str object only.
- fnvhash-c.CityHash64(str)¶
Returns the 64 bit CityHash value for the given data.
Note
Accepts str object only.
- fnvhash-c.CityHash128(str)¶
Returns the 128 bit CityHash value for the given data.
Note
Accepts str object only.