chickadee » message-digest » with-output-to-digest

with-output-to-digest PRIMITIVE THUNK #!optional RESULT-FORMprocedure

Invoke the procedure THUNK with (current-output-port) bound to a digest-output-port and return <result> in the RESULT-FORM.

RESULT-FORM default is 'hex.

Performs all three phases.