View Single Post
Old 05-23-2004, 06:33 PM   #12 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
Code:
char *values = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ./"

mod = strlen(values);
for(i = 0; i < 2: i++) salt[i] = values[rand() % mod];
for some reason this message board decided to insert a space between my the quote and the value zero in the first line, and i can't seem to get rid of it. it should not be there.
joe_bruin is offline   Reply With Quote