Brian Dunning's FileMaker Custom Functions

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   Vaughan Bromfield - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
ChecksumAdler32 ( "wikipedia" ; 1 ; 0 )
  Sample output:
319161272

  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   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.
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: