Image encryption process is jointed with reversible data hiding in this paper, where the data to be hided are modulated
by different secret keys selected for encryption. To extract the hided data from the cipher-text, the different tentative
decrypted results are tested against typical random distribution in both spatial and frequency domain and the goodnessof-
fit degrees are compared to extract one hided bit. The encryption based data hiding process is inherently reversible.
Experiments demonstrate the proposed scheme's effectiveness on natural and textural images, both in gray-level and