Re: How to use crypt ??

2002-05-23 Thread Michael Ragsdale
Yes, you need to use a salt and can use anything you'd like. For instance, if you're creating an encrypted password for a user's login, you might do something like this: my $username = 'foo'; my $password = 'bar'; my $crypted_password = crypt($password, $username); crypt() uses the first two

Re: How to use crypt ??

2002-05-23 Thread Chris Ball
> "David" == David vd Geer Inhuur tbv IPlib <[EMAIL PROTECTED]> writes: David> Trying to use crypt() to encrypt a given password. I know David> how to compare a given password with an encrypted one, but to David> encrypt one myself and save it, doesn't work for me for some Da

How to use crypt ??

2002-05-23 Thread David vd Geer Inhuur tbv IPlib
Hi, Right now I am a little lost. Trying to use crypt() to encrypt a given password. I know how to compare a given password with an encrypted one, but to encrypt one myself and save it, doesn't work for me for some reason. You would say, Ah of course forgotten to give your encryption key. That'

Re: how to use crypt() function to encrypt and decrypt shell user pass

2001-04-17 Thread Brent Michalski
cc: [EMAIL PROTECTED] Subject: how to use crypt() function to encrypt and decrypt shell use

how to use crypt() function to encrypt and decrypt shell user pass

2001-04-16 Thread gaga
I need to create simple perl programs that modify user's password on linux machine (using # usermod) but I dunno how to use its pass encryption thanx or maybe there's another better approach on this regards gaga __ Do You Yahoo!? Get email at your