I thought there should be a “standard” utility for overwriting the content of files with random garbage on most Linux systems. Unsurprisingly, it’s called shred. Surprisingly, to me, is that it’s part of GNU coreutils.
shred