Secure erase, part of the ATA specification is already built in to the drive's firmware which requires only a command to initiate it. secureerase.tcz will perform this and more which uses hdparm to send the signal. An SSD will take only a second or two but a HDD may take several hours to completely securely erase a drive.
It's already in the repository