Re: 3DES versus SHA-1
From: matthew (matthew@devney.net)Date: 07/10/02
- Previous message: lucipher: "Re: 3DES versus SHA-1"
- In reply to: Mario Behring: "3DES versus SHA-1"
- Next in thread: Frank Chambers: "Re: Re: 3DES versus SHA-1"
- Maybe reply: Frank Chambers: "Re: Re: 3DES versus SHA-1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 9 Jul 2002 16:31:47 -0700 (PDT) From: matthew <matthew@devney.net> To: Mario Behring <mariobehring@yahoo.com>
Mario,
That depends greatly on what exactly you want out of your crypto. SHA1
and 3DES are very different types of crypto for very different purposes.
SHA-1, or "Secure Hash Algorithm," is a hash algorithm, which means that
it reduces the plaintext to a hash -- in this case, a 160 bit "signature"
of the data. Use that any place you need to be sure the data is the same
on both ends, but don't care who snoops it in the middle. Most people use
md5 for this.
3DES, running Data Encryption Standard 3 times, is a symmetric block
cipher. A block cipher breaks up the plaintext into pieces, and runs a
reversible (two-way) encryption on it so that if you have the key, you can
recreate the data from the cyphertext. This differs from SHA in that you
can NOT recreate the data from an SHA hash.
DES is not very secure in modern environments, and 3DES is just interating
it 3 times, so one has to wonder about that security. Ideally you should
use Blowfish or Twofish instead of 3DES. Also, since you mention you want
to use this for email (and other things), look into PGP, which acts as
both encryption (which DES does) and signature (which SHA does).
Hope this helps.
On Mon, 8 Jul 2002, Mario Behring wrote:
> Date: Mon, 8 Jul 2002 12:56:54 -0700 (PDT)
> From: Mario Behring <mariobehring@yahoo.com>
> To: SECURITY-BASICS@securityfocus.com
> Subject: 3DES versus SHA-1
>
> Hi all,
>
> The purpose is to transfer data between sites securely using emails, HTTP,
> FTP, IP (LAN/WAN), etc.
>
> Which algorithm should I use: 3DES or SHA-1 ?
>
> Thanks.
>
> Mario
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
- Previous message: lucipher: "Re: 3DES versus SHA-1"
- In reply to: Mario Behring: "3DES versus SHA-1"
- Next in thread: Frank Chambers: "Re: Re: 3DES versus SHA-1"
- Maybe reply: Frank Chambers: "Re: Re: 3DES versus SHA-1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|