encrypt request