Checking whether JDispatcher is deprecated to stop redeclaring issues
Added crypt function