X‐ray optics and beam characterization using random modulation: theory. (20th February 2020)