add client encrypt utils