[Mono-dev] System.Security.Cryptography : TripleDES Issue

Sebastien Pouliot sebastien.pouliot at gmail.com
Mon Oct 17 19:17:38 EDT 2005

Hello Yogendra,

On Mon, 2005-10-17 at 17:39 -0400, Yogendra Thakur wrote:
> Hello,
> Is Triple DES Encryption supported in Mono?


> I have small code which uses Triple DES algorithm to encrypt /Decrypt
> data.
> This works fine in MS .NET. When I run same code on Mono, it throws "IV
> length can not be greater than Block Size" exception. 

Sorry I can't help you without more details.

Please open a bug report at http://bugzilla.ximian.com and include a
small source code sample that reproduce the problem. Don't forget to
indicate which version of Mono you are using and on which platform.

> I don't find any entry for this class in documentation. I searched data
> base but couldn't find anything.

You can access the documentation from http://www.mono-project.com
Click on "manuals and docs" (icon on top right) then navigate the tree
view to get to the desired class documentation.

Here's a direct link to the TripleDES class

> Also I see Crypto classes are implemented under two different namespaces
> System.Security.Cryptography and Mono.Security.Cryptography. What is the
> difference between them?

System.Security.Cryptography implements the same classes (i.e. same
features/same limites) as MS base class library.

Mono.Security.Cryptography offer extra classes (i.e. not available on
the MS framework).
Sebastien Pouliot
email: sebastien at ximian.com
blog: http://pages.infinit.net/ctech/

More information about the Mono-devel-list mailing list