[Mono-list] Any info on MACTripleDES or PKCS1MaskGenerationMethod ?

Sebastien Pouliot Sebastien Pouliot <spouliot@videotron.ca>
Sun, 13 Oct 2002 19:15:21 -0400


Hello all,

1. MACTripleDES

I'm a little confused by MACTripleDES as there are many variant out there
(CBC, CFB, with/without IV, encrypting the last block, ...) depending which
standard you choose from: like FIPS81, FIPS113 and ANSI X9.19.

Has any body used this class to exchange data with another system (not using
the .NET framework)?


2. PKCS1MaskGenerationMethod

This one is a bugger! I couldn't find a single sample using this class on
the net. This isn't surprising because it normally only used when encrypting
a value (using RSA) which is something that we can't do using the framework
(as RSACryptoServiceProvider.EncryptValue throws a NotSupportedException).

Right now I'm beginning to doubt that Microsoft is using this class in the
framework as all their asymmetric crypto comes from CryptoAPI (unmanaged)
why do they need this class ?

Anyway I'll commit the "pkcs official" version (the one that generate the
same output as the test vectors supplied with PKCS#1) as it is required for
other PKCS#1 related classes. But we may have to change this IF i'm wrong!


Sebastien Pouliot
Security Architect, Motus Technologies, http://www.motus.com/
work: spouliot@motus.com
home: spouliot@videotron.ca