A method for securely transacting a transaction based on a transaction document
having an image contained within the document, the method includes the steps of
compressing an image on the document; scrambling the structure of the compressed
image according to a permutation; obtaining the inverse permutation; applying the
inverse permutation to the scrambled image for obtaining an unscrambled image;
and decompressing the unscrambled image.