Discrete Cosine Transform of Encrypted Images