[Mono-bugs] [Bug 609376] HashAlgorithm subclasses function differently than on MS .NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 16 21:03:20 EDT 2010



Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #5 from Sebastien Pouliot <spouliot at novell.com> 2010-06-17 01:03:19 UTC ---
So a bit more testing shows that MS behavior is inconsistent between
HashAlgorithm implementations. Some requires a call to Initialize (e.g. MD5,
SHA1) while others do not (e.g. SHA256|384|512, most HMACs...).

Since Mono shares more code between implementations (all managed) than MS
(mixed managed / native implementation) having different behavior is a bit more

The way we have it now is that code working on MS .NET will work, unmodified,
on Mono (a very good thing) - while code working on Mono could, depending on
the HashAlgorithm, break when executed on MS (but changing our behavior could
break existing Mono apps too).

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list