Thanks a lot Martin. This is sufficient information for me to start investigaiting further. Best Regards, Pavan. On Tue, Apr 21, 2009 at 12:12 AM, Martin <inkubus@xxxxxxxxxxxxxxxx> wrote: > On Mon, 2009-04-20 at 12:00 -0400, pam-list-request@xxxxxxxxxx wrote: > <snip> >> Hi Martin, when you say the following: >> "These are for symmetric encryption, the crypt function uses them as >> a one way hash (that why the later versions use MD5)." >> >> Does the crypt function use any of the block cipher mode with little >> modifications. Please clarify. > CBC, EBC, etc. are for encrypting multiple blocks while avoiding block > level frequency analysis, insertion attacks, etc. crypt does not use > DES for encryption, it uses it as a form of hash, thus chain modes are > simply not applicable. > > If you want to understand how it works, I *strong* suggest you read the > code, this will give a far clearer explanation than I will manage. Note > that the MD5 based system, although it solves the same problem, does so > in a very different manner. > > Cheers, > - Martin > > > _______________________________________________ > Pam-list mailing list > Pam-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/pam-list > _______________________________________________ Pam-list mailing list Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list