  X-ray spectra transmitted through matter which is optically thick to Compton
scattering are computed by means of Monte Carlo simulations. Applications to
the BeppoSAX data of the Seyfert 2 galaxy in Circinus, and to the spectral
modeling of the Cosmic X-ray Background, are discussed.
