I need to send a file over Email securely. My idea was to use a Disk Image containing the file. Unfortunately, the person who I am sending the file to has a PC running Windows 10.
I need a way (most likely through the command line) to create an Encrypted Disk Image from a folder that is both read and write compatible on both Mac's and PC.
Even better would be an Apple Script Droplet that would take a file (not a folder) create a folder and then create an Encrypted Disk Image from that folder that is both read and write compatible on both Mac's and PC and then remove the original file and folder.
Note: Shell scripts are fine for the Apple Script Droplet.
I have tried creating an encrypted .cdr image and then changing the extension to .iso. Worked on Mac, but "Error...Corrupted" on PC.
I have also tried
hdiutil makehybrid -iso -joliet -o [filename].iso [encryptedfile].cdr
It worked but it was not encrypted.