Check Sums
Linux md5sum
Linux has the md5sum
command as well as sha*
commands
Powershell Get-FileHash
Get-FileHash prusa.png -Algorithm MD5
Windows CertUtil
Windows also has certutil command that can do many things, md5 sums being one of them:
certutil -hashfile audacity-win-3.1.3-64bit.exe SHA256
SHA256 hash of audacity-win-3.1.3-64bit.exe:
1a3e536efffc26dfb236d3961f4841116e3320485dcfaba2e86123a93998f505
CertUtil: -hashfile command completed successfully.
AIX csum
csum -h MD5 Filename
Solaris digest
digest -a md5 -v Filename
Make sure you are using the matching hash type (MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512)
Python md5 String
'''
Sign {
LICENSE 10.252.4.243 never CPSM-DOMAINS-25 CPSB-GBLP CK-4E17FCCB565F
}= b8qKKhRC-Uz3J23LnC-P2ANtxKsG-4oBWXtmpc Index=0 Version=0
Sign {
LICENSE 10.252.4.243 never CPAP-SM5150X CPSM-NGSM CPSB-WKFL-100 CPSB-WKFL-50 CPSB-NPM CPSB-EPM CPSB-LOGS CPSB-MNTR CPSB-MPTL CPSB-UDIR CPSB-PRVS CPSB-COMP-150 CPSB-COMP-150 CPSB-COMP-150 CPSB-COMP-150 CPSB-SME-U CPSB-RPRT-N-CU000 CPSB-COMP-150 CK-E4-43-4B-35-85-67
}= MP5HjUv8-oCuZpk2DM-FLHNsBBDa-zC5nk8y6v Index=0 Version=0
'''
import hashlib
print(hashlib.md5("}= MP5HjUv8-oCuZpk2DM-FLHNsBBDa-zC5nk8y6v Index=0 Version=0".encode('utf-8')).hexdigest())