On the Propagation of Extragalactic High Energy Cosmic and Gamma-Rays