pem-dev
[Top] [All Lists]

Encrypting the MIC-Info field?

1996-09-06 11:31:00
Hello,
        I was wondering if anyone could help me with the MIC-Info and
Key-Info fields.  The application I'm writing does not decrypt RIPEM 
correctly.  The problem lies in both of these fields.

        Basically, I'm working on the assumption that to encrypt these 
fields, you just 
a) make the DEK (8 byte array for DES-CBC)
b) encrypt using the recipient's public key
c) print it as ascii encoded HEX values

But, RFC1423 seems to say that you 
a) make the DEK
b) encode it with  0x00 || BT || PS || 0x00 || D
                          0x02   random        dek
c) encrypt it sing the recipient's public key
d) print it out

or, b and c might be switched

But, RIPEM doesn't seem to work with any of these.  Do I have to break up 
the DEK into smaller chunks first?  I'M CONFUSED!!!!!! (and just a little 
bit frustrated).  

                Thanks in advance,

         Your confused new-born cypherpunk-wannabe,
                        Dave
                   drig(_at_)magicweb(_dot_)com

I got a coffee mug from Cray Research when they moved out.  Now I can 
drink my coffee while doing 63 other, unrelated tasks.


<Prev in Thread] Current Thread [Next in Thread>
  • Encrypting the MIC-Info field?, David Rudder <=