[TCRYPT-30] : Added minor style changes and fixed a issue with the
encrypt controller.