1832869 Members
7950 Online
110048 Solutions
New Discussion

Password Encryption

 
Jeff Petrik
Occasional Advisor

Password Encryption

Is there an hp-ux command to encrypt/un-uncrypt a unix test file from the command line?
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Password Encryption

man crypt


Pete

Pete
Pedro Cirne
Esteemed Contributor

Re: Password Encryption

Hi,

Check the man pages for "crypt"

Enjoy :)

Pedro
Florian Heigl (new acc)
Honored Contributor

Re: Password Encryption

You should note that crypt is merely scrambling the password. :)
For real purposes You'll need to install the HP-UX kernel random number generator and use openssl.
yesterday I stood at the edge. Today I'm one step ahead.
baiju_3
Esteemed Contributor

Re: Password Encryption

Check for ccrypt .It is advanced than crypt I think.


Thanks.
BL

Good things Just Got better (Plz,not stolen from advertisement -:) )
baiju_3
Esteemed Contributor

Re: Password Encryption

ccrypt is a gnu utility , you may have to down load probably.


Thanks.
BL.
Good things Just Got better (Plz,not stolen from advertisement -:) )
A. Clay Stephenson
Acclaimed Contributor

Re: Password Encryption

Actually the crypt command has nothing to do with the crypt() function -- which is used to hash the password. The crypt() function is not actually encryption because the process is not reversible. The crypt command does actually encrypt and decrypt. Having said that, the crypt command offers modest security and there are much better alternatives available now but crypt is standard across UNIX platforms.
If it ain't broke, I can fix that.