LinuxQuestions.org
Visit Jeremy's Blog.
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, 09:50 PM   #1
liguorir
Member
 
Registered: May 2003
Posts: 256

Rep: Reputation: 30
Question .


.

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

Original Poster
Rep: Reputation: 30
Question .

.

Last edited by liguorir; 05-11-2004 at 11:35 PM.
 
Old 05-11-2004, 04:27 PM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Looks like you didn't triple post, but quadruple! Is this an LQ record?
 
Old 05-20-2004, 11: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:16 AM
How to encrypt URLs? servnov Linux - Security 9 08-15-2005 11:19 PM
adduser no encrypt andy7t Linux - Software 6 07-26-2005 11:06 AM
How do I encrypt a drive? tmckee Linux - Security 3 07-24-2005 04:18 PM
Encrypt vivekind Linux - General 1 01-16-2002 04:23 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration