Operating System - HP-UX
1834635 Members
3513 Online
110069 Solutions
New Discussion

Re: how to encrypt file in hpux

 
SOLVED
Go to solution
chakribobby
Advisor

how to encrypt file in hpux

hi
i need to encrypt a file in hpux
5 REPLIES 5
Shrikant Lavhate
Esteemed Contributor
Solution

Re: how to encrypt file in hpux

Hi,

Use crypt command for encryption an decryption of file with key.

#crypt filename.x

where filename is name of file u want to encrypt and filename.x is the out encrypted file. After executing above command you will ask for Key for encryption. This is only key which you can use to read content of encrypted file later. It is like locking file with password.

and to decrypt use same command with reverse order of file...

see man page for more details..

-=ShRi=-
Will it remain a personal, if I broadcast it here!
Steven Schweda
Honored Contributor

Re: how to encrypt file in hpux

> i need to encrypt a file in hpux

Why? How well?

Many things are possible.

http://gnupg.org/
Steven E. Protter
Exalted Contributor

Re: how to encrypt file in hpux

Shalom,

Also available if requred is PGP for HP-UX

http://software.hp.com

Search for Internet Express

Pick your OS version then PGP. Lots of other nice goodies there.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kiran Kr
Occasional Advisor

Re: how to encrypt file in hpux

Consider using EVFS, while this is not the answer to your current problem, it is something that you may want to consider when your data-security needs go beyond encrypting a single file:
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=EVFS
Dave La Mar
Honored Contributor

Re: how to encrypt file in hpux

As others noted, there is the built in crypt command in HP-UX.
In our shop we use several options, PGP, OpenSSL, Sterling Sofware Direct Connect (specifally for ftp), and Valicert.

OpenSSL is quite robust in it's usage as you may choose ciphers from 128-256 bit encryption and it can be obtained from the porting center at no charge and is compatible with versions that run on windoze.

It is my preference over PGP as there are no key rings to maintain and the key file itself may be encrypted, assuming one wants to maintain a key file.



Best of luck on this.

dl
"I'm not dumb. I just have a command of thoroughly useless information."