Text this: How to beat a Bayesian adversary