Encryption, integration, and SQL