[TASK] Made serveral improvements to the encrypt controller
[TASK] Made the time type function