converting value of true to 1, false to 0, and otherwise
generate a random string, by alphabetic, and or numeric. we also can determine the length of it