Find the answer to your Linux question:
Results 1 to 7 of 7
Hi I am a newbie to linux. I have a code that uses wincrypt.h for encryption/decryption under windows. I need to use something similar to this to make my code ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    3

    encryption utilities in linux

    Hi
    I am a newbie to linux.

    I have a code that uses wincrypt.h for encryption/decryption under windows.

    I need to use something similar to this to make my code work on linux.

    Please help !!!!

    thanks

  2. #2
    Linux Newbie burntfuse's Avatar
    Join Date
    Nov 2006
    Location
    Laurel, MD
    Posts
    158
    Exactly what type of encryption are you using?
    I have sold my soul to the penguin

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    3

    encryption utilities in linux

    password type encryption...

  4. #4
    Just Joined!
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    73
    Have a look at
    http://www.gnupg.org/
    Under some ditributions (e.g. SuSe 10.1) this is already included

  5. #5
    Linux Newbie burntfuse's Avatar
    Join Date
    Nov 2006
    Location
    Laurel, MD
    Posts
    158
    password type encryption...
    That's not very specific. Different systems use different types of encryption for passwords.
    I have sold my soul to the penguin

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    i prefer OpenSSL for password type encryptions.
    it works on OS X, Linux, anywhere with OpenSSL installed:
    To encrypt a file:
    Code:
    openssl des3 -salt -in infile.txt -out encryptedfile.txt
    To decrypt the file:
    Code:
    openssl des3 -d -salt -in encryptedfile.txt -out normalfile.txt
    do not specify the same file as input and output on encryption.. I have noticed weird effects on OS X (it eats the file). remove the -in * stuff if you want to pipe data into it (e.g. a tarred folder). omit the -out * stuff if you want it to pipe data out on STDOUT.





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Jan 2007
    Posts
    3

    thanks for the information

    Casper
    thanks a bunch.

    Will go ahead with openSSL.

    newlin

Posting Permissions

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