🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.security.unix
Article #153

Re: Does SSLeay's libcrypto have problems ?

#153
From: T. Youderian
Date: Wed, 07 Oct 1998 00:00
31 lines
2522 bytes
Administrator wrote:

> I was having my first look at libcrypto that comes with SSleay on the
> linux platform. The RC2 and RC4 ciphers do not work, at least not as
> said in the documentation.

> There were instances where the length of "in" and "out" were not the
> same and infact with what I saw length(in) >= length(out).
>
> Now this is a stream cipher right ? How do I output the encrypted stream
>
> ? With the lengths used in the original encrypt ?

Hrm, well RC2 and RC4 are message digests, which means that for a great big
huge piece of information, you can make a kind of crypto-fingerprint for
it.  Then, if someone were to modify the file, the new digital fingerprint
should be very different.  It's not exactly an encryption of the data, it's
more like a "summary"?  Does that help?

The Enigma machine used a stream cipher and Skipjack is a stream cipher.

I should go look at the SSLeay source, but surely it has some other
functions for doing the actual crypto.. you are going to want to look
around for functions that pass around the session key (Diffie-Hellman) and
then from there, go on and encrypt the rest of the connection with some
less powerful cipher like DES or whatever.

Post to sci.crypto?  Crypto is definitely one of those things where a
little knowledge is a bad thing and I'm no expert.

Tom
Technical Details
Message-ID: <361B34C5.BCACA3E6@u.washington.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <360E147F.5BEED8A5@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10952f,87edaa2edde0b9c3
X-Google-Attributes: gid10952f,public
X-Google-Thread: 109d1b,87edaa2edde0b9c3
X-Google-Attributes: gid109d1b,public
X-Google-Thread: 10a997,87edaa2edde0b9c3
X-Google-Attributes: gid10a997,public
X-Google-Thread: faa64,87edaa2edde0b9c3
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 1133d0,87edaa2edde0b9c3
X-Google-Attributes: gid1133d0,public
X-Google-Thread: 101175,87edaa2edde0b9c3
X-Google-Attributes: gid101175,public
From: "T. Youderian" <tyoud@u.washington.edu>
Subject: Re: Does SSLeay's libcrypto have problems ?
Date: 1998/10/07
Message-ID: <361B34C5.BCACA3E6@u.washington.edu>
X-Deja-AN: 398580673
Content-Transfer-Encoding: 7bit
References: <360E147F.5BEED8A5@hotmail.com>
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: help@cac.washington.edu
X-Trace: nntp6.u.washington.edu 907752647 29322 (None) 140.142.17.38
Organization: University of Washington
Mime-Version: 1.0
Newsgroups: comp.security.unix,alt.os.linux,alt.uu.comp.os.linux.questions,comp.security.ssh,cern.security.unix,alt.security
NNTP-Posting-User: tyoud