LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-10-2004, 08:50 PM   #1
liguorir
Member
 
Registered: May 2003
Posts: 256

Rep: Reputation: 30
Question .


.

Last edited by liguorir; 05-11-2004 at 10:36 PM.
 
Old 05-10-2004, 09:10 PM   #2
liguorir
Member
 
Registered: May 2003
Posts: 256

Original Poster
Rep: Reputation: 30
Question .

.

Last edited by liguorir; 05-11-2004 at 10:35 PM.
 
Old 05-11-2004, 03:27 PM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Looks like you didn't triple post, but quadruple! Is this an LQ record?
 
Old 05-20-2004, 10:38 PM   #4
liguorir
Member
 
Registered: May 2003
Posts: 256

Original Poster
Rep: Reputation: 30
Question 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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
encrypt and decrypt using encrypt(char block[64], int edflag) rockwell_001 Linux - Security 3 08-30-2009 09:16 AM
How to encrypt URLs? servnov Linux - Security 9 08-15-2005 10:19 PM
adduser no encrypt andy7t Linux - Software 6 07-26-2005 10:06 AM
How do I encrypt a drive? tmckee Linux - Security 3 07-24-2005 03:18 PM
Encrypt vivekind Linux - General 1 01-16-2002 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration