REBOL Programming/checksum

< REBOL Programming

USAGE:

CHECKSUM data /tcp /secure /hash size /method word /key key-value 

DESCRIPTION:

Returns a CRC or other type of checksum.

CHECKSUM is a native value.

ARGUMENTS

REFINEMENTS

SOURCE CODE

checksum: native[
    "Returns a CRC or other type of checksum." 
    data [any-string!] "Data to checksum" 
    /tcp "Returns an Internet TCP 16-bit checksum." 
    /secure "Returns a cryptographically secure checksum." 
    /hash "Returns a hash value" 
    size [integer!] "Size of the hash table" 
    /method "Method to use" 
    word [word!] "Method: SHA1 MD5" 
    /key "Returns keyed HMAC value" 
    key-value [any-string!] "Key to use"
]

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.