[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: RC2ParameterVersion in example 6.3
> -----Original Message-----
> From: Paul Hoffman / IMC [mailto:phoffman@xxxxxxx]
> Sent: Saturday, May 03, 2003 9:59 AM
> To: Blake Ramsdell; 'ietf-smime-examples'
> Subject: Re: RC2ParameterVersion in example 6.3
>
> Man, we went through this a zillion times when we writing S/MIME v2.
> Could someone verify this for me? I'm happy changing the title of the
> example, but don't want to fall into the same hole we have in the
> past.
I agree -- it would indeed be helpful if someone researched this
independently.
Last night while working with this example, it correctly decrypted using
effective key bits of 128:
SMIMECryptUtil - version is 58
SMIMECryptUtil - RC2 version 58 maps to effective key length 128
SMIMECryptUtil - iv
SMIMECryptUtil - Cipher 1.2.840.113549.3.2 maps to encryption algorithm
RC2/CBC/PKCS5Padding
EnvelopedData - Back from handleEncryptedContentInfo, looks like
everything decrypted
EnvelopedData - Data was decrypted
TestEnvelopedData - Content bytes:
0000 54 68 69 73 20 69 73 20 73 6F 6D 65 20 73 61 6D This is some sam
0010 70 6C 65 20 63 6F 6E 74 65 6E 74 2E ple content.
Blake