[Mono-bugs] [Bug 372893] New: PasswordDeriveBytes.GetBytes() not producing expected output

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 21 07:26:28 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=372893


           Summary: PasswordDeriveBytes.GetBytes() not producing expected
                    output
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: x86
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: compaqdrew at sbcglobal.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=203347)
 --> (https://bugzilla.novell.com/attachment.cgi?id=203347)
Source code that reproduces problem

Description of Problem:

I'm developing an encryption app and noticed some interesting behavior by my
Mono clients yesterday.  PasswordDeriveBytes.GetBytes() is not producing the
same output that .NET 2.0 does.

Mono output:

key 12
key 252
key 122
key 125
key 78
key 182
key 178
key 145
key 136
key 24
key 114
key 225
key 94
key 103
key 178
key 85
iv 141
iv 200
iv 84
iv 194
iv 14
iv 96
iv 171
iv 186
iv 197
iv 27
iv 203
iv 82
iv 171
iv 228
iv 50
iv 180

NET 2.0 Output:
key 12
key 252
key 122
key 125
key 78
key 182
key 178
key 145
key 136
key 24
key 114
key 225
key 94
key 103
key 178
key 85
iv 78
iv 182
iv 178
iv 145
iv 14
iv 96
iv 171
iv 186
iv 197
iv 27
iv 203
iv 82
iv 171
iv 228
iv 50
iv 180

Notice that the first four bytes in the second round are different.


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


More information about the mono-bugs mailing list