Random one is for decrease the higher order aberrations. There is no limit at the formulas to keep it for x ray. You enter the wavelenght and it gives the pin sieve.
Ordinary zone plates are the subject for x ray imaging but ordinary cameras uses them also.
I think x ray technology comes from the x ray lab at germany and their problem was not making ordinary camera lenses.