Support binary buffers in checksum functions

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,426
40
Albuquerque, NM
prospero.unm.edu
#1
Code:
@CKSUM[B,handle,offset,len]
@MD5[B,handle,offset,len]
@SHA1[B,handle,offset,len]
@SHA256[B,handle,offset,len]
@SHA256[B,handle,offset,len]
@SHA384[B,handle,offset,len]
  • B: case determines case of the return value
  • handle: as returned by @BALLOC
  • offset: starting byte; optional, defaults to 0
  • len: number of bytes to sum; optional, defaults to the remainder of the buffer