[LUGOS-PROG] MD5 crypt.

Borut Mrak b at aufbix.org
Sat Oct 27 05:03:55 CEST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 26 October 2001 11:22, Rok Papež wrote:
> Zanima me kje se nahaja MD5-crypt() funkcija
> s katero so kodirana gesla v /etc/shadow.
> Upam, da ne v OpenSSL.

Ne.

info libc (cryptographic functions):

- - Function: char * crypt (const char *KEY, const char *SALT)

     For the MD5-based algorithm, the SALT should consist of the string
     `$1$', followed by up to 8 characters, terminated by either
     another `$' or the end of the string.  The result of `crypt' will
     be the SALT, followed by a `$' if the salt didn't end with one,
     followed by 22 characters from the alphabet `./0-9A-Za-z', up to
     34 characters total.  Every character in the KEY is significant.

lp,

- -- 
Borut
b at aufbix.org
- ------------
He who laughs last is S-L-O-W.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjvaJB8ACgkQRUVvbWYRhIJvWQCgxd21PVujnPVX42UtbZgdqLdR
QUEAn1zbHC7jOkGO0YeGicWIkRIJA5QE
=8FH9
-----END PGP SIGNATURE-----



More information about the lugos-prog mailing list