http://lxqyom6a3p6fdgsy6mpjyhjqjdpzleseck2jojwwzcilmsvduaeo7zyd.onion/2020/06/10/double-sha256-in-bash-and-python/index.html
Bitcoin mining itself is, after all, and somewhat simplified, only a matter of spitting out insane amounts DSHA256 hashes, and hoping your output satisfies the consensus network. DSHA256 is a core function needed for the Bitcoin blockchain. And still, it is not a built-in function in any major Linux distribution that I ’ m aware of.