Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2003
    Posts
    1

    Question Unanswered: Question about crypt command

    Hi all ..
    i'm a new member here ..
    and i have a question about crypt command
    how can i write it??
    i used this form :
    crypt [password] < file1 > file2
    but the result was : Command not found !

    How can i use it to Encrypt my files
    Thnanx

  2. #2
    Join Date
    Aug 2002
    Location
    UK
    Posts
    87
    This has to be installed and an alias set up for your use.
    On Solaris it should be located in /usr/bin/

    Try running this code to find it on your box ....
    Code:
    $cd /
    $find . -name "crypt" -print

  3. #3
    Join Date
    Oct 2002
    Location
    Baghdad, Iraq
    Posts
    697

    Re: Question about crypt command

    Originally posted by UNIXman
    Hi all ..
    i'm a new member here ..
    and i have a question about crypt command
    how can i write it??
    i used this form :
    crypt [password] < file1 > file2
    but the result was : Command not found !

    How can i use it to Encrypt my files
    Thnanx
    Simple: don't. Check to see if you have the openssl command installed.

    If it's properly installed, you should be able to type "man enc" to get the parameters to "openssl enc".

    For most stuff, you can use the Blowfish symmetric algorithm, it's very good.

    From the examples:

    openssl bf -e -a -salt -in file.txt -out file.bf

    And to decrypt:

    openssl bf -d -a -salt -in file.bf -out file.txt

    Definitely poke around the man pages of openssl. It's a very complete set of utilities for encryption and digital signing. http://www.openssl.org/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •