I'm trying to use the pin.py to generate the SHA-2 certificate hashes with no success.. I've changed the line 39 to `digest = hashlib.sha256()` but with no success. Any idea?