In a system that participants use common parameters, the setup has to be executed honestly since a corrupt setup including choice of parameters may bring loss of security. The primitive called universal sampler
scheme enables to execute each setup of cryptographic protocol in a system efficiently. After only a trusted setup of universal sampler, anyone can execute a trusted setup of each cryptographic protocol. While ID-based encryption
schemes and non-interactive key exchange protocols based on a universal sample scheme have been studied so far, we propose a hierarchical ID-based encryption scheme based on a universal sampler scheme in this paper.