Hey,
maybe i got your use case wrong so please correct me if necessary.
You want to trigger a few connector calls and use the result of each of those to combine it and afterwards use CryptoJS.
When all this is done the result should be returned to your client application.
You can use a server side business object to achieve this. Implement the needed connector calls inside the business object by using the Business Object API and save the results into variables, combine everything and add your CryptoJS logic.
The call of the server side business object from the client is asynchronous, the logic inside the business object is synchronous.
The BO will return the result only after every connector call is finished and the rest of the logic is executed.
Hope that helps you