I've tried to implement a solution for this, based on the work done by tsimonq2.
The implementation still autodetects the lenght of the digest, but now is specific about the algorithm. For example:
source-checksum: sha2/035ae7da4bd0ff39960466353e0810f51d17193a13e8b75e767391820aed484c
source-checksum: sha1/30fdfacb19b557a762932c5a3a867cdc698e447f
I've tried to implement a solution for this, based on the work done by tsimonq2.
The implementation still autodetects the lenght of the digest, but now is specific about the algorithm. For example: d0ff39960466353 e0810f51d17193a 13e8b75e7673918 20aed484c b557a762932c5a3 a867cdc698e447f
source-checksum: sha2/035ae7da4b
source-checksum: sha1/30fdfacb19
SHA3 support is commented out, as is not yet implented in python3.5 hashlib; it will be in python 3.6: https:/ /docs.python. org/3.6/ whatsnew/ 3.6.html# hashlib