This is the md5 Reference Manual, version 2.0.4, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:01:44 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
md5
The MD5 Message-Digest Algorithm RFC 1321
Pierre R. Mai <pmai@pmsf.de>
Pierre R. Mai <pmai@pmsf.de>
Public Domain
2.0.4
sb-rotate-byte
(system).
md5.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
md5/md5.lisp
md5
(system).
md5
.
fill-block
(function).
fill-block-char
(function).
fill-block-ub8
(function).
finalize-md5-state
(function).
initial-md5-regs
(function).
make-md5-state
(function).
md5-regs
(type).
md5-state
(structure).
md5-state-p
(function).
md5regs-digest
(function).
md5sum-file
(function).
md5sum-sequence
(function).
md5sum-stream
(function).
md5sum-string
(function).
update-md5-block
(function).
update-md5-state
(function).
*t*
(special variable).
+buffer-size+
(constant).
+md5-magic-a+
(constant).
+md5-magic-b+
(constant).
+md5-magic-c+
(constant).
+md5-magic-d+
(constant).
assemble-ub32
(macro).
buffer-index
(type).
copy-md5-state
(function).
copy-to-buffer
(function).
f
(function).
g
(function).
h
(function).
i
(function).
make-ub32-vector
(macro).
md5-block
(type).
md5-regs-a
(macro).
md5-regs-b
(macro).
md5-regs-c
(macro).
md5-regs-d
(macro).
md5-state-amount
(reader).
(setf md5-state-amount)
(writer).
md5-state-block
(reader).
md5-state-buffer
(reader).
md5-state-buffer-index
(reader).
(setf md5-state-buffer-index)
(writer).
md5-state-finalized-p
(reader).
(setf md5-state-finalized-p)
(writer).
md5-state-regs
(reader).
mod32+
(compiler macro).
mod32+
(function).
rol32
(function).
ub32
(type).
ub32-aref
(macro).
ub32-vector
(type).
with-md5-round
(macro).
Packages are listed by definition order.
md5
common-lisp
.
fill-block
(function).
fill-block-char
(function).
fill-block-ub8
(function).
finalize-md5-state
(function).
initial-md5-regs
(function).
make-md5-state
(function).
md5-regs
(type).
md5-state
(structure).
md5-state-p
(function).
md5regs-digest
(function).
md5sum-file
(function).
md5sum-sequence
(function).
md5sum-stream
(function).
md5sum-string
(function).
update-md5-block
(function).
update-md5-state
(function).
*t*
(special variable).
+buffer-size+
(constant).
+md5-magic-a+
(constant).
+md5-magic-b+
(constant).
+md5-magic-c+
(constant).
+md5-magic-d+
(constant).
assemble-ub32
(macro).
buffer-index
(type).
copy-md5-state
(function).
copy-to-buffer
(function).
f
(function).
g
(function).
h
(function).
i
(function).
make-ub32-vector
(macro).
md5-block
(type).
md5-regs-a
(macro).
md5-regs-b
(macro).
md5-regs-c
(macro).
md5-regs-d
(macro).
md5-state-amount
(reader).
(setf md5-state-amount)
(writer).
md5-state-block
(reader).
md5-state-buffer
(reader).
md5-state-buffer-index
(reader).
(setf md5-state-buffer-index)
(writer).
md5-state-finalized-p
(reader).
(setf md5-state-finalized-p)
(writer).
md5-state-regs
(reader).
mod32+
(compiler macro).
mod32+
(function).
rol32
(function).
ub32
(type).
ub32-aref
(macro).
ub32-vector
(type).
with-md5-round
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Convert a complete 64 byte input vector segment into the given 16 word MD5 block. This currently works on (unsigned-byte 8) and character simple-arrays, via the functions ‘fill-block-ub8’ and ‘fill-block-char’ respectively. Note that it will not work correctly on character simple-arrays if ‘char-code-limit’ is greater than 256.
DEPRECATED: Convert a complete 64 character input string segment starting from ‘offset’ into the given 16 word MD5 block.
Convert a complete 64 (unsigned-byte 8) input vector segment starting from ‘offset’ into the given 16 word MD5 block.
If the given md5-state has not already been finalized, finalize it,
by processing any remaining input in its buffer, with suitable padding
and appended bit-length, as specified by the MD5 standard.
The resulting MD5 message-digest is returned as an array of sixteen (unsigned-byte 8) values. Calling ‘update-md5-state’ after a call to ‘finalize-md5-state’ results in unspecified behaviour.
Create the initial working state of an MD5 run.
Create the final 16 byte message-digest from the MD5 working state in ‘regs’. Returns a (simple-array (unsigned-byte 8) (16)).
Calculate the MD5 message-digest of the file specified by ‘pathname’.
Calculate the MD5 message-digest of data in ‘sequence’, which should be a 1d simple-array with element type (unsigned-byte 8). On CMU CL and SBCL non-simple and non-1d arrays with this element-type are also supported. Use with strings is DEPRECATED, since this will not work correctly on implementations with ‘char-code-limit’ > 256 and ignores character-coding issues. Use md5sum-string instead, or convert to the required (unsigned-byte 8) format through other means before-hand.
Calculate an MD5 message-digest of the contents of ‘stream’. Its element-type has to be (unsigned-byte 8). Use on character streams is DEPRECATED, as this will not work correctly on implementations with ‘char-code-limit’ > 256 and ignores character coding issues.
Calculate the MD5 message-digest of the binary representation of ‘string’ (as octets) in the external format specified by ‘external-format’. The boundaries ‘start’ and ‘end’ refer to character positions in the string, not to octets in the resulting binary representation. The permissible external format specifiers are determined by the underlying implementation.
This is the core part of the MD5 algorithm. It takes a complete 16 word block of input, and updates the working state in A, B, C, and D accordingly.
Update the given md5-state from ‘sequence’, which is either a simple-string or a simple-array with element-type (unsigned-byte 8), bounded by ‘start’ and ‘end’, which must be numeric bounding-indices. Note that usage on simple-strings is DEPRECATED, since this will not work correctly if ‘char-code-limit’ is more than 256. String input should be converted to (unsigned-byte 8) simple-arrays with external-format conversion routines beforehand.
md5
.
structure-object
.
md5:md5-regs
(md5:initial-md5-regs)
This slot is read-only.
(integer 0 *)
0
common-lisp
.
md5::md5-block
(md5::make-ub32-vector 16)
This slot is read-only.
(simple-array (unsigned-byte 8) (64))
(make-array 64 :element-type (quote (unsigned-byte 8)))
This slot is read-only.
(integer 0 63)
0
Size of internal buffer to use for ‘md5sum-stream’ and ‘md5sum-file’ operations. This should be a multiple of 64, the MD5 block size.
Initial value of Register A of the MD5 working state.
Initial value of Register B of the MD5 working state.
Initial value of Register C of the MD5 working state.
Initial value of Register D of the MD5 working state.
Assemble an ub32 value from the given (unsigned-byte 8) values, where a is the intended low-order byte and d the high-order byte.
Copy a partial segment from input vector ‘from’ starting at ‘from-offset’ and copying ‘count’ elements into the 64 byte buffer starting at ‘buffer-offset’.
md5
.
md5
.
Jump to: | (
A C F G H I M R U W |
---|
Jump to: | (
A C F G H I M R U W |
---|
Jump to: | *
+
A B C F R S |
---|
Jump to: | *
+
A B C F R S |
---|
Jump to: | B F M P S T U |
---|
Jump to: | B F M P S T U |
---|