Learning to Reconstruct Statistical Learning Theory and Encrypted Database Attacks