Click here to Skip to main content
15,559,275 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Modulo statement Pin
BobJanova5-Jul-11 6:43
BobJanova5-Jul-11 6:43 
GeneralRe: Modulo statement Pin
David19875-Jul-11 7:19
David19875-Jul-11 7:19 
GeneralRe: Modulo statement Pin
Lutosław5-Jul-11 7:46
Lutosław5-Jul-11 7:46 
GeneralRe: Modulo statement Pin
David19875-Jul-11 7:53
David19875-Jul-11 7:53 
GeneralRe: Modulo statement Pin
Lutosław5-Jul-11 8:24
Lutosław5-Jul-11 8:24 
GeneralRe: Modulo statement Pin
David19875-Jul-11 8:40
David19875-Jul-11 8:40 
GeneralRe: Modulo statement Pin
Lutosław5-Jul-11 11:47
Lutosław5-Jul-11 11:47 
QuestionC# Hash Sum - Add Bytes Pin
John Paul Walker4-Jul-11 18:03
John Paul Walker4-Jul-11 18:03 
So I'm trying to use the hash functions provided by .Net in C#. However the implementation they provide does not provide a way (at least, not easy to find) to where I can add bytes to update the current hash sum. Please note, I am NOT talking about using a stream. I need to be able to add from a byte array.

Yes, I have googled around for several hours trying to find a solution, so shut up.

I have a hard time believing that a solution does not already exist out there, as this seems like a necessity for any hash function. So please don't tell me something that "might" work or "should" work. I'm looking for a solution that is known to work.

Thanks for your help.
John
AnswerRe: C# Hash Sum - Add Bytes Pin
Roger Wright4-Jul-11 18:38
professionalRoger Wright4-Jul-11 18:38 
GeneralRe: C# Hash Sum - Add Bytes Pin
John Paul Walker5-Jul-11 13:24
John Paul Walker5-Jul-11 13:24 
GeneralRe: C# Hash Sum - Add Bytes Pin
Matty2225-Sep-11 22:08
Matty2225-Sep-11 22:08 
AnswerRe: C# Hash Sum - Add Bytes Pin
BobJanova5-Jul-11 2:14
BobJanova5-Jul-11 2:14 
GeneralRe: C# Hash Sum - Add Bytes Pin
David19875-Jul-11 3:01
David19875-Jul-11 3:01 
Questionfind all 'n'-bit numbers with 'k' bit set [modified] Pin
Sameerkumar Namdeo2-Jul-11 0:46
Sameerkumar Namdeo2-Jul-11 0:46 
AnswerRe: find all 'n'-bit numbers with 'k' bit set Pin
David19872-Jul-11 1:15
David19872-Jul-11 1:15 
GeneralRe: find all 'n'-bit numbers with 'k' bit set Pin
Sameerkumar Namdeo2-Jul-11 2:01
Sameerkumar Namdeo2-Jul-11 2:01 
QuestionSewer Colony Optimization Algorithm Pin
Anubhava Dimri30-Jun-11 19:05
Anubhava Dimri30-Jun-11 19:05 
AnswerRe: Sewer Colony Optimization Algorithm Pin
Roger Wright30-Jun-11 20:05
professionalRoger Wright30-Jun-11 20:05 
QuestionKnapsack Problem Algorithm [modified] Pin
Nikolay Nedelchev29-Jun-11 9:24
Nikolay Nedelchev29-Jun-11 9:24 
AnswerRe: Knapsack Problem Algorithm Pin
OriginalGriff30-Jun-11 10:26
mveOriginalGriff30-Jun-11 10:26 
QuestionLine Intersection Pin
musefan17-Jun-11 4:20
musefan17-Jun-11 4:20 
AnswerRe: Line Intersection Pin
dasblinkenlight17-Jun-11 6:51
dasblinkenlight17-Jun-11 6:51 
GeneralRe: Line Intersection Pin
musefan17-Jun-11 6:55
musefan17-Jun-11 6:55 
AnswerRe: Line Intersection Pin
Roger Wright17-Jun-11 21:34
professionalRoger Wright17-Jun-11 21:34 
GeneralRe: Line Intersection Pin
musefan21-Jun-11 1:12
musefan21-Jun-11 1:12 

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.