Re: how to use DES algorithm ?
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.