http://lxqyom6a3p6fdgsy6mpjyhjqjdpzleseck2jojwwzcilmsvduaeo7zyd.onion/2020/06/10/double-sha256-in-bash-and-python/index.html
Also, to not completely mess up the terminal, pipe the output to a new file, e.g. ./dsha mywordlist.txt > myhashes.txt In conclusion, here is how to properly calculate DSHA256 in both bash and Python. And that is useful stuff that you can implement in your own applications.