add encrypt operation