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.