add encode for cipher