Documentation Help Nits Forever: Checksum functions

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,768
111
Albuquerque, NM
prospero.unm.edu
From the help for @CRC32 :

String mode: @CRC32[s,string[,start[,length]]]
File mode: @CRC32[[d,][f,]filename[,start[,length]]]
Binary mode: @CRC32[[b,]handle[,start[,length]]]
And similar for @MD5, @SHA1, @SHA256, etc.

I'm pretty sure the start and length parameters only apply to binary buffers. If they're supposed to work with files, they don't. And as for strings... I assume they're interpreted as part of the string.
 

Similar threads