hash/ | |
License | Copyright © 2007-2011, FreeBASIC Extended Library Development Group |
ext. | |
Functions | |
adler32 | Returns the adler32 hash of a memory buffer. |
adler32 | Returns the adler32 hash of a string. |
Copyright © 2007-2011, FreeBASIC Extended Library Development Group
Distributed under the FreeBASIC Extended Library Group license. See accompanying file LICENSE.txt or copy at http://code.google.com
declare function adler32 overload ( byval buf As const any ptr, byval buf_len as uinteger, byval adler as uinteger = 0 ) As uinteger
Returns the adler32 hash of a memory buffer.
buf | pointer to the buffer to hash. |
buf_len | the length of the buffer in bytes. |
adler | optional value to initalize the hash with, defaults to 0 |
uinteger containing the hash.
Returns the adler32 hash of a memory buffer.
declare function adler32 overload ( byval buf As const any ptr, byval buf_len as uinteger, byval adler as uinteger = 0 ) As uinteger