speed up for cipher