add encrypt part