add ability to generate random byte arrays