How do I use platformio for flash encryption in esp32s3

Please forgive me for the translation used in the following text
esp32s3 supports flash encryption
But I only saw the tutorial in the official ide
So I want to ask you what’s a good solution for the platformio arduino platform
Is there a solution for arduino
I hope it can be solved. Thank you very much