• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to use DES algorithm ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use DES algorithm ?


  • Subject: Re: how to use DES algorithm ?
  • From: Scott Thompson <email@hidden>
  • Date: Thu, 22 Apr 2004 19:19:34 -0500

On Apr 22, 2004, at 8:55 AM, Yvelise Deledicq wrote:

Hello,

Does anyone know how to use openssl to crypt a string with DES algorithm ??

echo "string to encrypt" | openssl des -e -pass pass:myvoiceismypassword > encryptedfile

which can then be decoded using

cat encryptedfile | openssl des -d -pass pass:myvoiceismypassword

There are a broad number of options for the way that you specify the password to OpenSSL. By using pass:<password> it's just supplied on the command line as cleartext. Other options can be found by using man openssl.

Scott
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >how to use DES algorithm ? (From: "Yvelise Deledicq" <email@hidden>)

  • Prev by Date: Re: NSData object trouble with <16KB
  • Next by Date: Re: Loading/Unloading a Cocoa-using framework from a CFM application
  • Previous by thread: how to use DES algorithm ?
  • Next by thread: Re: Re: java - reading and writing preferences (Without Spelling Mistakes)
  • Index(es):
    • Date
    • Thread