Changeset 40454 in project


Ignore:
Timestamp:
09/08/21 16:22:16 (2 weeks ago)
Author:
Kon Lovett
Message:

rel 4.3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/message-digest-type

    r39962 r40454  
    4747A {{byte-source}} is one of {{string}}, {{blob}}, or {{srfi-4-vector}}.
    4848
    49 {{message-digest-result-type}} is {{(or blob string u8vector)}}
     49A {{message-digest-result-type}} is {{(or blob string u8vector)}}
     50
     51''Initialized'' here means the intialization phase is completed.
    5052
    5153==== message-digest-result-form
     
    5759A {{RESULT-FORM}} of {{#f}} resets to the initial value.
    5860
    59 ==== initialize-message-digest
     61==== reset-message-digest
    6062
    61 <procedure>(initialize-message-digest PRIM) -> message-digest</procedure>
     63<procedure>(reset-message-digest DIGEST) -> message-digest</procedure>
    6264
    63 Returns a new, initialized, {{message-digest}} for the supplied algorithm
    64 {{PRIM}}.
     65Returns the re-initialized {{DIGEST}}.
    6566
    66 ''Initialized'' here means the intialization phase is completed.
     67Re-use of the backing objects lowers allocations.
    6768
    68 ==== initialize-message-digest!
     69==== setup-message-digest
    6970
    70 <procedure>(initialize-message-digest! PRIM CTX) -> message-digest</procedure>
     71<procedure>(setup-message-digest PRIM [CTX]) -> message-digest</procedure>
    7172
    72 Returns a new, initialized, {{message-digest}} for the supplied
     73Returns a new, initialized, {{message-digest}} for the default or supplied
    7374{{message-digest-primitive-context}} {{CTX}}.
    7475
    75 ''Initialized'' here means the intialization phase is completed.
     76==== initialized-message-digest
     77
     78<procedure>(initialized-message-digest OBJ) -> message-digest</procedure>
     79
     80Operation when {{OBJ}} is a
     81; {{message-digest-primitive}} : {{setup-message-digest}}
     82; {{message-digest}} : {{reset-message-digest}}
    7683
    7784==== ensure-message-digest-buffer!
     
    146153[[/users/kon-lovett|Kon Lovett]]
    147154
     155
    148156== Repository
    149157
     
    155163you are not familiar with Subversion, see [[/egg-svn-checkout|this page]].
    156164
     165
    157166== Version history
    158167
     168; 4.3.0 : Deprecate {{initialize-message-digest}}/{{initialize-message-digest!}}. Add {{setup-message-digest}}/{{reset-message-digest}}.
    159169; 4.2.0 : Add {{message-digest-type.types.scm}}.
    160170; 4.1.0 : Add {{initialize-message-digest!}}, fix {{message-digest-result-form}}.
Note: See TracChangeset for help on using the changeset viewer.