Click to See Complete Forum and Search --> : shuffler


drawmack
10-02-2003, 11:16 PM
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.

drawmack
10-04-2003, 01:34 PM
no comments?

Merve
10-04-2003, 01:55 PM
Originally posted by drawmack
no comments?

disguised bump?
:D

Moonglobe
10-04-2003, 02:12 PM
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.

drawmack
10-04-2003, 02:40 PM
Originally posted by Merve
disguised bump?
:D

it doesn't make much sense to bump something that's only fourth. I was curious, what people thought since they were not commenting.

Moonglobe
10-04-2003, 03:06 PM
ah yes, not i remember:

tabs suck.


other than that, well its interesting if a bit hard to follow. the shuffling part could use some more commenting, methinks.

drawmack
10-04-2003, 03:12 PM
the shuffling actually happens in one line of code. I added comments to that line. I also replaced the tabs with spaces.

my editor does that for me, replacing spaces with tabs, but since it's a free editor I'm not going to complain.

anyway here is the updated code.

laserlight
10-05-2003, 01:15 AM
what free editor *are* you using?

drawmack
10-05-2003, 01:21 AM
xhtml-kit

LordShryku
10-05-2003, 01:30 AM
And where can we get this thing? Google only returns some seriously non-English sites :(

Weedpacket
10-06-2003, 05:12 PM
www.chami.com/htmlkit

LordShryku
10-06-2003, 05:23 PM
Thankya....gonna hafta give it a shot...