The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 07-05-2006
hegemaro hegemaro is offline
Registered User
  
 

Join Date: Feb 2006
Location: Schenectady, NY
Posts: 134
AIX dropping crypt surprised me too. Using standard AIX software, no, I do not believe there is a way to password encrypt a file. However, you can compile/install OpenSSL available from http://www.openssl.org

There are oodles of encryption algorithms and encrypting a file is quite simple.

Code:
# openssl enc -aes-256-cbc -in file -out file.enc
enter aes-256-cbc encryption password: password
Verifying - enter aes-256-cbc encryption password: password
#
To decrypt, simply swap your -in and -out file parameters and add a -d to the command line:

Code:
# openssl enc -d -aes-256-cbc -in file.enc -out file
enter aes-256-cbc encryption password: password
#