Crypt(1), Again
November 1, 2019
In the previous exercise I tried to write a replacement for the old Unix crypt(1) program, but never did figure out how to enter a password in Chez Scheme. So today I have the program in C.
To answer some questions that came up in the previous exercise: Yes, I know about ccrypt
. Yes, I know that I should not rely on any cryptographic code I write. Yes, the original Unix crypt
wasn’t very secure, though at least I can claim that my crypt
is better now than the Unix crypt
was at the time.
You can see my crypt
program on the next page.