I would have thought that would be a different type passed to randomness() who would then know how to generate a hexstring?