| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 version |
Arguments: context data &key start end external-format
Add data to the running MD5 computation in context (md5-init returns a context). data may be a string or an (unsigned-byte 8) vector.
If data is a string, the
start and end keyword
arguments specify character positions in the
string. start defaults to 0 and
end defaults to nil
,
equivalent to the length of the
string. external-format specifies the external
hashing of the string that will be used to update the context. If
not specified, the default external format will be used.
If data is an (unsigned-byte 8) vector,
start and end refer to
locations in the vector (again defaulting to 0 and nil
, meaning the length of the
vector). external-format is ignored.
Earlier versions of md5-update had two required and one optional argument, len, specifying the number of characters of the argument string to use (that is, start was hardwired to 0 and the optional argument specified a value for end). This argument style is still accepted, though with a warning. Note len refers to the number of characters, not the number of bytes in the external hashing.
This function returns no values, but side-effects context.
See MD5, SHA1, HMAC, and RC4 support in miscellaneous.htm.
Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.
| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 version |