I am very familiar with Apex Crypto class and it works pretty well. Now that I am trying to make my Aura component work more efficiently without making Server calls to encrypt/decrypt a large JSON string, is there a way I can perform Crypto operations within my Aura component itself (JS file)? Any references to SF articles or thoughts would be really appreciated.
Update to include more details:
We have a console application where most of our customer data flows from our internal API. Our console has a parent Aura component where it gets the necessary API data. The child components feed on this API data and we have workspaceAPI
implementation to pass along the retrieved data via pageReference.state.
This console is accessed by our business team to work with customer cases. As we are including all data in the URL, I am trying to implement encryption on one of the URL parameters that holds customer's PI data. I would need encryption to hide the customer's PI data from our business users. The child aura component(s) render only few fields from this PI data. And the reminder of the data is still useful, but for different components.