split encryption class