Can someone give me a high level understanding of how to manage encrypting things in a queue?

We have external code that needs to create a queue item via the Orchestrator API, and the queue item will contain a password. We’d like to encrypt that password and then after getting the transaction the automation will decrypt it.

What are the high level steps for accomplishing this?

Also, when trying to install UiPath.Cryptography.Activities I’m getting:

Error: System.IO.FileNotFoundException: Could not load file or assembly 'System.Security.Cryptography.Pkcs, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.