Completed encrypted-records example application.