LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   crypt vs encrypt (https://www.linuxquestions.org/questions/linux-software-2/crypt-vs-encrypt-180133/)

liguorir 05-10-2004 08:50 PM

.
 
.

liguorir 05-10-2004 09:10 PM

.
 
.

Bruce Hill 05-11-2004 03:27 PM

Looks like you didn't triple post, but quadruple! Is this an LQ record?

liguorir 05-20-2004 10:38 PM

Random seed.
 
I got it:

int main (int argc, char **argv) {

char salt[] = "aa";
char *password;

/* Read in the user's password and encrypt it. */
password = crypt ( argv[1], salt);

/* Print the results. */
puts ( password );

return 0;
}

Does anyone have any random seed generation code I could peruse?


All times are GMT -5. The time now is 08:01 PM.