Fix OS string
Change get_random_bytes to random_bytes, add random_values