>
> % man crypt
>
> CRYPT(3)                       Library functions
> CRYPT(3)
>
> NAME
>        crypt - password and data encryption
>
> SYNOPSIS
>        #define _XOPEN_SOURCE
>        #include <unistd.h>
>
>        char *crypt(const char *key, const char *salt);
>
> DESCRIPTION
>        crypt  is  the  password  encryption function.  It is based on
> the Data
>        Encryption Standard algorithm with  variations  intended 
> (among other
>        things)  to discourage use of hardware implementations of a
> key search.

Crypt face un tip de hash md5. Mai sunt si alte tipuri... Crypt a fost 
proiectat sa mearga in special pentru passwords. Mai sunt hash string-
urile md5 care le da md5sum, de exemplu. Sunt doua functii diferite. 
Depinde ce are nevoie omu'.

-- 
  Claudiu Cismaru
  GPG Key: http://maya.cnixs.com/~claudiu/claudiu.gpg

Raspunde prin e-mail lui