Trying to add a randomBytes function. It's buggy as of now