Preventing Database Breaches with Application-Layer Encryption