To secure erase when that option isn't available in Disk Utility. For example, for SSDs. Boot from another disk or recovery mode. Erase the disk encrypted, with a complex key. Fill the disk with zeros. Erase it again, without encryption or with a different key.
Options to fill with zeros
If it is available, use mkfile, otherwise use dd...