add first draft randomBytes method