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

Reply via email to