> fixed data pattern. I don't know if the
M-209 variant salted.
IIRC it didn't.
Having wasted (spent?) much of the afternoon toying with this, no, it
did not.
> Last I
> checked, the DES version used a block of zeros as the data, dunno yet
> about M-209.
The crypt(3) code appears to allocate a bss block, so I'm going with the
block of zeros as likely.
I haven't managed to find a C implementation of
the M209 cipher.
Apparently DES was introduced around 1976, so anything older than that
should include an implementation.
V6 includes a crypt(1) implementation of the M209 in C, source is on
TUHS. It's not yet clear to me yet how the crypt(3) assembler
implementation translated the binary output of the (very similar
looking) algorithm to printable text. I'm still staring at the
assembler code. Evidently I don't speak PDP-11 very well today.
De