http://lxqyom6a3p6fdgsy6mpjyhjqjdpzleseck2jojwwzcilmsvduaeo7zyd.onion/2020/06/10/double-sha256-in-bash-and-python/index.html
/usr/bin/env python3
import sys, hashlib, binascii
filename=sys.argv[1]
f = open(filename, 'r')
for line in f:
line = line.replace('\n', '').replace('\r', '')
round1hex = hashlib.sha256(line.encode('utf-8')).hexdigest().zfill(64)
round1bin = binascii.unhexlify(round1hex)
round2hex = hashlib.sha256(round1bin).hexdigest().zfill(64)
print(round2hex) … name it “ dsha ” , save it, and finally issue chmod +x dsha so that we are allowed to execute it: Then prepare a second file, let...