To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
Code CritiqueHaving someone critique your code is always a great way to hone the skills. Stop in and post your code to see what your peers may have done differently.
before anyone takes just a cursory look at the attached code and says SHUFFLE DOES THAT let me assure you that shuffle does not do this. This uses a key array on the input array. This is actually an encryption algorithm because it moves stuff around based on the key.
Actually is it an algorith that's used to generate a key from a seed. The same seed will generate the same key so it can be used in encryption. I just learned about the algorithm today and thought it would be fun to implement. It is attached, let me know what you think.
__________________
"A proof is a proof. What kind of a proof? It's a proof. A proof is a proof. And when you have a good proof, it's because it's proven." -- Jean Chrétien
no a blantant bump, but thats ok because he's not asking for help.
drawmack, i looked at your code earlier but that was on my other comp and i was going to saay something but it froze up on me loading the reply page..... andnow ive forgotten. sorry.
__________________
there's no place i can be, since i found serenity.
__________________
On two occasions I have been asked [by Members of Parliament], "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.