In an image process apparatus, a key different for each level of hierarchy
is generated on the basis of a specific key with respect to image data
having a hierarchical structure, the image data in each level of the
hierarchy is encrypted using the generated key for each level, and the
specific key is managed, so that key management can be easily performed
while the image data having a hierarchical structure is enciphered using
different keys for each level of the hierarchy.