Re: crypt
[email protected] wrote on 11.06.96 in <[🔎] [email protected]>:
> > when it is used as a one way hash. Vi on genuine un*x systems uses
> > crypt() to encrypt your files (:X - of course you mustn't confuse
>
> Nope. Please don't confuse crypt(3) with crypt(1) [in "man page"
> notation, the C library function crypt() and the user-program crypt.]
> The latter is a modified Enigma-style rotor cipher, see also the Crypt
> Breaker's Workshop. debian does not include a package for crypt(1)
> [and if it did, it should be in the "games" section...]
Well, I have no idea what vi uses.
It's been some years since I last looked at the AT&T Unix crypt() man
page, but I still remember that it is most definitely an encryption
function.
However, the usual application for password encoding uses crypt() in a
very strange way. I don't quite remember the details, but it's something
like encoding data generated from the salt with other data generated from
the password to produce the encoded password; decrypt()ing won't be able
to reverse this.
MfG Kai
Reply to: