ChecksumAdler32 ( text ; seed1 ; seed2 )
Creates a checksum of the input text bases on the Adler-32 algorithm.
Average rating: 4.3 (38 votes) Log in to vote
Vaughan Bromfield - Show more from this author |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
ChecksumAdler32 ( text ; seed1 ; seed2 )
The initial values for seed1 and seed2 must be 1 and 0 respectively.
Adler-32 is a checksum algorithm which was invented by Mark Adler.
This custom function was written by Vaughan Bromfield
This function is based on the algorithm published on the Adler-32 page on Wikipedia (accessed 2010-02-17)
http://en.wikipedia.org/wiki/Adler-32
The published algorithm used ASCII encoding and returns a hexadecimal result; this cf implementation uses Unicode encoding and returns a decimal (base 10) result.
There may be other differences.
All care taken but no responsibility. Your mileage may vary.
Comments
Vaughan Bromfield Nov 11, 2010 |
||
Could the people that rate the function poorly please add a comment to let me know what the disappointment is. Thanks - Vaughan. | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.