Yes. I have to interface to an existing system that is encrypting its data
using the
ECB format. Thanks for the info, by the way I found the ecb_crypt by doing
a
man des_crypt.
Thanks,
Chris
----- Original Message -----
From: Kris Kennaway <[EMAIL PROTECTED]>
To: Ptacek <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, December 23, 1999 8:00 AM
Subject: Re: DES routines?
> On Sun, 19 Dec 1999, Ptacek wrote:
>
> > I am looking for some routines to perform DES encryption in electronic
code
> > book mode.
>
> I assume you have some reason for wanting ECB, and not the usual (more
> secure) CBC mode..
>
> > I have found the ecb_cyrpt function, however when I try and use it the
> > buffer is not encrypted.
> > Am I missing something, do these functions not work, and is there a
better
> > way of doing this?
>
> Hmm..I can't find any documentation (manpages) on ecb_crypt, which
> suggests it's a deprecated interface. You should use the des_ecb_encrypt
> function and related calls as described in that manpage, as these are the
> "standard FreeBSD API". Note the different calling syntax.
>
> Kris
>
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message