Volkan Tunalı, PhD

Computer Engineer MSc

Cryptography Classes for .NET Compact Framework

3 comments

You may know that System.Security.Cryptography for Compact Framework lacks many cryptography algorithms compared to the desktop .Net Framework (2005 and later). In a project we have needed SHA512 encryption on Windows CE and we have found /cfAes library which provides almost all of the crypto functionality of .NET Framework. We are grateful to the author for sharing the class library.

The following table displays a comparison between the versions of .Net Framework with respect to the support for different crypyography algorithms (X means that it is supported, 0 means partially supported).

Crytpo Algorithm .NET 2003 OpenNETCF 1.2 /cfAES WSE 2.0 CF 2.0 .NET 2005
MD5 X X X X X
SHA1 X X X X X
SHA256 X X X
SHA384 X X X
SHA512 X X X
MACTripleDES X 0 X X
HMACSHA1 X X X X X
PasswordDeriveBytes X 0 X X
RC2 X X X X X
DES X X X X X
TripleDES X X X X X X
Rijndeal X X X X
RSA X X X X X X
DSA X X X X X
RIPEMD160 X X
HMACMD5 X X
HMACSHA256 X X
HMACSHA384 X X
HMACSHA512 X X
HMACRIPEMD160 X X
Rfc2898DeriveBytes X X
ProtectedData X X
ProtectedMemory X X
PSHA1 X X
AESKeyExchangeFormatter X X
TripleDesKeyExchangeFormatter X X
SecureString X X



You can download the source code of the library here.

Written by Volkan TUNALI

November 10th, 2010 at 11:56 am

3 Responses to 'Cryptography Classes for .NET Compact Framework'

Subscribe to comments with RSS or TrackBack to 'Cryptography Classes for .NET Compact Framework'.

  1. Can you share cfAes library? There is no http://www.mperfect.net site availiable.

    Renat

    24 Jan 11 at 1:17 pm

  2. Renat,

    Thank you for your warning. You can download the library using the link below:

    http://www.vtunali.com/download/cfAes_cryptography_algorithms_source.zip

    Volkan TUNALI

    24 Jan 11 at 1:30 pm

  3. Many many thanks for your library. It was very helpful for porting sha256 to a wince platform using .netCF which natively doesn’t support it.
    Thankyou, Norm.

    Norm

    15 Oct 11 at 2:41 pm

Leave a Reply

IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

What is 13 + 11 ?
Please leave these two fields as-is: