broke out sql code into DAO and encryptionn funcs into EncryptionUtils