Triple DES code?
- From: Bob Campbell <bc21@xxxxxxxxxxxxx>
- Date: Mon, 04 Apr 2005 23:34:42 -0400
Does anyone know where I can get Triple DES code for C?
I have a need to encode a 4-character value, but the built-in
encryption code does not exist in the 64-bit world of the
system I am using (AIX 5.3). The xcrypt_encrypt function
is there for 32-bit (in a module in libmodcrypt.a) but does not
exist for the 64-bit system. IBM has even told me that on
a lengthy support call recently.
If the algorithm is not too hairy, I can write the code myself,
but I am having trouble find that out in Google-land. I've
read bits and pieces of explanations discussing XOR, but it is
not clear to me that it is as simple as doing that three times.
Anyhow...
I have a
4-char value and can make up three 64-byte keys, no problem.
(Actuall 2 keys and repeat the first one which seems to be the
norm from what I have read).
Anyone know if there are any pieces of code out there that
I can grab?
Thanks!
.
- Follow-Ups:
- Re: Triple DES code?
- From: Bill Godfrey
- Re: Triple DES code?
- From: vikrant . shahir
- Re: Triple DES code?
- Prev by Date: Re: Motivation for Participating in Open-Source Projects
- Next by Date: Re: can c++ code be loaded to a hardware PGA coprocessor card
- Previous by thread: can c++ code be loaded to a hardware PGA coprocessor card
- Next by thread: Re: Triple DES code?
- Index(es):
Relevant Pages
|