HashFNV1a32 ( text ; empty )
Rate this function: Average rating: 4.0 (2 votes) Discuss this Custom Function
Vaughan Bromfield, Vaughan Bromfield Design
mailto:vbromfield@optusnet.com.au
Computes the 32 bit binary FNV-1a has for the input text.
Sample Input:
| HashFNV1a32 ( "contracts" ; "" ) |
|
Sample Output:
| 01011001111001011000000111111111 |
|
Description:
HashFNV1a32 ( text ; empty )
The initial value for "empty" must be empty ("")
This function computes the 32-bit binary hash for the input text based on the FNV-1a algorithm
This function requires the following functions:
Bin2dec ( bin ; empty )
Dec2bin ( decimalNumber ; empty )
XORbin ( bin0 ; bin1 ; empty )
This custom function was written by Vaughan Bromfield <vbromfield@optusnet.com.au> on 14 March 2010.
This function is based on the algorithm published at:
http://www.isthe.com/chongo/tech/comp/fnv/index.html
http://en.wikipedia.org/wiki/Fowler_Noll_Vo_hash
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:
|
Newest Custom Functions:
| 1. |
MaxLength ( field, foundCnt ) |
| |
(Thu, Jul 29, 4:37pm) |
| 2. |
DayCounter ( Date_Start ; Date_End; Days_of_Week ) |
| |
(Wed, Jul 28, 1:20pm) |
| 3. |
Is_FM_Go_iPad |
| |
(Fri, Jul 23, 7:55am) |
| 4. |
Is_FM_Go |
| |
(Fri, Jul 23, 7:54am) |
| 5. |
IsFilled ( field ) |
| |
(Wed, Jul 21, 7:19am) |
| 6. |
DateQuarterAsRange ( theDate ) |
| |
(Thu, Jul 15, 5:37pm) |
| 7. |
DateQuarterEnd ( theDate ) |
| |
(Thu, Jul 15, 5:35pm) |
| 8. |
DateQuarterBegin ( theDate ) |
| |
(Thu, Jul 15, 5:30pm) |
 |
|