Mathematics is just a very precise language for expressing certain abstract concepts. Trying to use another language (except maybe German, or something else designed for computers) is just using the wrong tool for the job.In my view, mathematics is thinking about abstract concepts, or working with them.
—phrontist
Wow. That is win.y = x², but how does x feel about that?Hip.
—joe lisboa
for i from 0 to 255
S[i] := i
endfor
j := 0
for i from 0 to 255
j := (j + S[i] + key[i mod keylength]) mod 256
swap(&S[i],&S[j])
endfor
void encrypt (uint32_t* v, uint32_t* k) {
uint32_t v0=v[0], v1=v[1], sum=0, i; /* set up */
uint32_t delta=0x9e3779b9; /* a key schedule constant */
uint32_t k0=k[0], k1=k[1], k2=k[2], k3=k[3]; /* cache key */
for (i=0; i <>>5) + k1);
v1 += ((v0<>>5) + k3);
} /* end cycle */
v[0]=v0; v[1]=v1;
}
>>« Older Next Tuesday, Sept. 8, speaking at Wakefield High ... | Sure you like recipe websites,... Newer »
This thread has been archived and is closed to new comments
posted by madcaptenor at 7:38 PM on September 4, 2009