In .net core, is it better to encrypt multiple values at once or to process them in parallel?
I use the CQRS pattern in the Onion architecture and I encrypt the user’s private data such as email, phone number, and address and store them in the database. I couldn’t reach a conclusion on whether I should encrypt each data separately or whether doing it all at once would provide me with a more accurate and optimized result. Can you tell me your thoughts on this point?
Below is the entire code, here is the part I encrypted one by one;