Brian Dunning's FileMaker Custom Functions

ChecksumAdler32 ( asciiText )

Computes an Adler-32 checksum

  Average rating: 4.5 (30 votes) Log in to vote

Jeremy Bante   Jeremy Bante
Fugue
fuguedata.co

Share on Facebook Share on Twitter

  Sample input:
ChecksumAdler32 ( "message digest" )
  Sample output:
695534982

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Computes a 32 bit checksum for a string of text using the Adler-32 algorithm.

 

Comments

Bruce Robertson   Bruce Robertson
Jan 6, 2014
Jeremy: any comments on the relative merits of your version vs Vaughn's?
Vaughn's calc looks way simpler.

http://www.briandunning.com/cf/1122
 
Jeremy   Jeremy, USA
Jan 6, 2014
Mine doesn't require developers to remember the initial values for the two component checksums, or even to acknowledge their existence — This function is more encapsulated.
 
Uli Graser   Uli Graser, Miami Beach, FL
Jun 7, 2017
Vaughns function is strictly functional - without side-effects and won't use variables outside the scope and canonically tail-recursive.

much faster and could be multi-threaded and used even for rendering on many layout objects in parallel ..
 

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: