On mobile the only way it is possible to delete crypted files is to uninstall the app and therefore delete anything. On desktop, you can delete the crypted files when the app is not running. If you know how to write bash (or some other scripting language), you could write a bash script to manually run when Joplin is closed, which will delete all .crypted files in the .resources folder where there is no matching file without the crypted extension
Thank you for your reply. I believe I understand now. I previously researched related information, which mentioned that original isolated resource files (with associated records in the database or elsewhere) cannot be manually deleted directly and must be handled through Joplin's official API. Therefore, I was uncertain whether the same restriction applied to manually deleting .crypted files.
Your provided link clarifies that .crypted files are no longer needed after synchronization and will likely be regenerated and overwritten during the next change. Therefore, it appears feasible for me to write a script that directly deletes specific .crypted files or all *.crypted encrypted files when Joplin is not running.