Added encryption to client side SQL