Click here to Skip to main content
15,922,584 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: References in Class Library Pin
Jay Royall28-Jan-10 4:49
Jay Royall28-Jan-10 4:49 
QuestionDelete record using ADODC in vb6 Pin
offroaderdan27-Jan-10 23:48
offroaderdan27-Jan-10 23:48 
AnswerRe: Delete record using ADODC in vb6 Pin
Estys28-Jan-10 0:20
Estys28-Jan-10 0:20 
GeneralRe: Delete record using ADODC in vb6 Pin
offroaderdan28-Jan-10 0:50
offroaderdan28-Jan-10 0:50 
GeneralRe: Delete record using ADODC in vb6 Pin
Estys28-Jan-10 1:24
Estys28-Jan-10 1:24 
QuestionMDX Change array to list Pin
led12327-Jan-10 3:44
led12327-Jan-10 3:44 
QuestionMD5 checksum problem Pin
Gagan.2027-Jan-10 2:18
Gagan.2027-Jan-10 2:18 
AnswerRe: MD5 checksum problem Pin
Covean27-Jan-10 2:37
Covean27-Jan-10 2:37 
I think thats your problem:

buff.Append(String.Format("{0:X1}", hashByte))


{0:X1} means that all values between 0 and 15 are only display as 1 hex char while
16 - 255 are displayed with 2 hex chars.

But
BitConverter.ToString(hash).Replace("-", "")


always uses 2 hex chars for every value between 0 and 255.

Change {0:X1} to {0:X2} and it should work.

Greetings
Covean

GeneralRe: MD5 checksum problem Pin
Gagan.2027-Jan-10 2:48
Gagan.2027-Jan-10 2:48 
GeneralRe: MD5 checksum problem Pin
DaveAuld27-Jan-10 3:06
professionalDaveAuld27-Jan-10 3:06 
GeneralRe: MD5 checksum problem Pin
Covean27-Jan-10 3:06
Covean27-Jan-10 3:06 
GeneralRe: MD5 checksum problem Pin
Gagan.2027-Jan-10 3:11
Gagan.2027-Jan-10 3:11 
GeneralRe: MD5 checksum problem Pin
DaveAuld27-Jan-10 3:25
professionalDaveAuld27-Jan-10 3:25 
GeneralRe: MD5 checksum problem Pin
Covean27-Jan-10 4:02
Covean27-Jan-10 4:02 
GeneralRe: MD5 checksum problem Pin
Gagan.2027-Jan-10 4:12
Gagan.2027-Jan-10 4:12 
GeneralRe: MD5 checksum problem Pin
Covean27-Jan-10 4:34
Covean27-Jan-10 4:34 
GeneralRe: MD5 checksum problem Pin
Luc Pattyn27-Jan-10 7:36
sitebuilderLuc Pattyn27-Jan-10 7:36 
QuestionDatagrid Pin
sohil masani26-Jan-10 19:54
sohil masani26-Jan-10 19:54 
AnswerRe: Datagrid [modified] Pin
Mr Oizo26-Jan-10 20:46
Mr Oizo26-Jan-10 20:46 
AnswerRe: Datagrid Pin
Paramu197326-Jan-10 20:46
Paramu197326-Jan-10 20:46 
QuestionRetrieve data from listview to textbox (VBA Access 2007) Pin
misCafe26-Jan-10 13:53
misCafe26-Jan-10 13:53 
AnswerRe: Retrieve data from listview to textbox (VBA Access 2007) Pin
Paramu197326-Jan-10 20:53
Paramu197326-Jan-10 20:53 
GeneralRe: Retrieve data from listview to textbox (VBA Access 2007) Pin
misCafe26-Jan-10 21:51
misCafe26-Jan-10 21:51 
GeneralRe: Retrieve data from listview to textbox (VBA Access 2007) Pin
Paramu197326-Jan-10 22:05
Paramu197326-Jan-10 22:05 
GeneralRe: Retrieve data from listview to textbox (VBA Access 2007) Pin
misCafe27-Jan-10 13:32
misCafe27-Jan-10 13:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.