simplified structure in encryption plugins