Text this: Breaking barriers in two-party quantum cryptography via stochastic semidefinite programming