My understanding is "To encrypt a file, first we will have to upload public key in control panel, and use it in workflow to encrypt it. The private key would be shared to the external system, so that they can decrypt it using the private key." if my understanding is correct, then refereeing the below screenshot from the experience league, which shows exporting a file after encrypting it. Which says, it uploads the public key onto control panel(which is correct), and uses private key to encrypt it in the Workflow.
Is the last statement correct? I feel it should be public instead of private key. Please do let me know.