Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#7956 closed defect (fixed)

Double check Hex encoding with Blowfish.

Reported by: Tom Trenka Owned by: Tom Trenka
Priority: high Milestone: 1.3
Component: Dojox Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:


in the encrypt function, you have the following code: case dojox.encoding.crypto.outputTypes.Hex:{ return, function(item){ return item.toString(16); }).join(""); string }

I *believe* it should look like this: return, function(item){ return ((item < 16) ? "0" : "")+item.toString(16);}).join(""); string

when I called encrypt with Hex, it was excluding a 0 from the encrypted I hacked it to return raw then do the conversion myself using the code I provided and it worked.

Change History (2)

comment:1 Changed 13 years ago by Tom Trenka

Resolution: fixed
Status: newclosed

Fixed with r15706.

comment:2 Changed 13 years ago by Tom Trenka

Bah. r15705.

Note: See TracTickets for help on using tickets.