An apparatus and method to encrypt data having hierarchical information
are provided. The apparatus includes an N-th layer key generator, which
generates an N-th layer key, an (N+1)-th layer key generator, which
generates an (N+1)-th layer key by applying the N-th layer key to a
predetermined function, an N-th layer data encryptor, which encrypts N-th
layer data using the N-th layer key, and an (N+1)-th layer data
encryptor, which encrypts (N+1)-th layer data using the (N+1)-th layer
key.