An apparatus for coding an image while scrambling the image by randomizing
pixel values includes a scrambling unit which scrambles an image by
utilizing an encryption function to compute a displacement of a pixel
value to be randomized in response to a displacement of a previously
randomized pixel value.