At 11:31 PM 12/22/92 -0400, Yanek Martinson wrote:
(e.g., email messages, etc). Is there a convention for the end of line sequence that is to be used for the copy of the file that is run through the hash function? If there isn't, then the file hash will depend on the
Canonical Text has a CR and LF at the end of each line. This is documented in some RFC. All (most?) protocols used on internet such as smtp, finger, etc, use this format. The possible justification is that an extra linefeed or a carriage return is not as bad as a missing one.
Which RFC are you referring to? While it is true that 821, 822 (and other RFC's which are concerned with email messages) define the end of line as a CRLF, I'm not aware of an RFC which defines canonical text. The style of late has been to define a line "as described in rfc822" or some such. But I don't recall any rfc which defines canonical text spanning session-layer (or higher) protocols. Is there one? john noerenberg jwn2@qualcomm.com noerenberg.j (Applelink) =========================================================== Do not uselessly lament your luck that is giving way, your work that has failed, your life's plans that have all ended in despair. Like a man long prepared, like a man of courage, bid her farewell, the Alexandria that leaves you. -- "The God Abandons Anthony", Constantine Peter Cavafy [1911] ===========================================================