Text this: Privacy-aware quadratic optimization using partially homomorphic encryption