Click here to Skip to main content
16,005,316 members
Home / Discussions / C#
   

C#

 
AnswerRe: Grayscale values Pin
Christian Graus18-May-07 11:30
protectorChristian Graus18-May-07 11:30 
QuestionArrayList of PictureBoxes Pin
aei_totten18-May-07 7:20
aei_totten18-May-07 7:20 
AnswerRe: ArrayList of PictureBoxes Pin
Luc Pattyn18-May-07 8:08
sitebuilderLuc Pattyn18-May-07 8:08 
GeneralRe: ArrayList of PictureBoxes Pin
aei_totten18-May-07 9:18
aei_totten18-May-07 9:18 
GeneralRe: ArrayList of PictureBoxes Pin
Luc Pattyn18-May-07 9:24
sitebuilderLuc Pattyn18-May-07 9:24 
Questioni have a method with 2 param, how use thread with it Pin
zeroonea18-May-07 7:10
zeroonea18-May-07 7:10 
AnswerRe: i have a method with 2 param, how use thread with it Pin
Not Active18-May-07 7:28
mentorNot Active18-May-07 7:28 
Questionhashing problem .. Pin
WilenX18-May-07 7:10
WilenX18-May-07 7:10 
Hey all !

First of all let me start by saying I'm new to C# and programming what so ever..

I have a Excel sheet that I read lines from. Each line has 15 cells with numbers between 1-70 of random combinations.

My purpose is to hash every single line to a single result. The result is stored in an array.
I'm doing so by performing XOR between the cells' content (casting them to bytes).
This also gives me the luxery of not having to deal with the order of the numbers.

However, here's the problem. I'm getting the same XOR result for different types of numbers (how obvious).

For Example:
13^17^21^22^23^25^26^27^29^31^46^53^55^60^63 = 61

5^9^14^20^27^28^32^35^38^41^43^50^58^61^62 = 61


Is there any better solution for doing what I want ?
Be very appretiative if someone could help me out ...

Thanks !
AnswerRe: hashing problem .. Pin
Dave Herren18-May-07 11:27
Dave Herren18-May-07 11:27 
QuestionSize of Struture Pin
Levnsn18-May-07 7:04
Levnsn18-May-07 7:04 
AnswerRe: Size of Struture Pin
Giorgi Dalakishvili18-May-07 7:21
mentorGiorgi Dalakishvili18-May-07 7:21 
GeneralRe: Size of Struture Pin
Levnsn18-May-07 21:11
Levnsn18-May-07 21:11 
GeneralRe: Size of Struture Pin
Luc Pattyn18-May-07 23:38
sitebuilderLuc Pattyn18-May-07 23:38 
Questionpixel comparison against the grayscale Pin
diddy3418-May-07 6:56
diddy3418-May-07 6:56 
AnswerRe: pixel comparison against the grayscale Pin
Christian Graus18-May-07 11:31
protectorChristian Graus18-May-07 11:31 
QuestionQueryString Pin
Jabeerbe18-May-07 5:55
Jabeerbe18-May-07 5:55 
AnswerRe: QueryString Pin
Guffa18-May-07 6:30
Guffa18-May-07 6:30 
QuestionRe: QueryString Pin
Jabeerbe18-May-07 19:03
Jabeerbe18-May-07 19:03 
AnswerRe: QueryString Pin
Guffa19-May-07 22:52
Guffa19-May-07 22:52 
QuestionCompare the colors of pixels in an image to the grayscale value and sort them. Pin
diddy3418-May-07 5:17
diddy3418-May-07 5:17 
AnswerRe: Compare the colors of pixels in an image to the grayscale value and sort them. Pin
Colin Angus Mackay18-May-07 8:25
Colin Angus Mackay18-May-07 8:25 
GeneralRe: Compare the colors of pixels in an image to the grayscale value and sort them. Pin
diddy3418-May-07 21:37
diddy3418-May-07 21:37 
QuestionRemote X509Certificates Pin
Nicholas Cardi18-May-07 4:53
Nicholas Cardi18-May-07 4:53 
AnswerRe: Remote X509Certificates Pin
led mike18-May-07 5:18
led mike18-May-07 5:18 
GeneralRe: Remote X509Certificates Pin
Nicholas Cardi18-May-07 5:25
Nicholas Cardi18-May-07 5:25 

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.