Wipe single disk during disk size up grade

Upgrading disk to increase space. Wanting to ensure personal data is not compromised if reselling current disks. How can these drives be securely erased. Hoping that I don’t have to connect them to another pc then run some sort of erase utility like DBAN