7 lines
228 B
Python
7 lines
228 B
Python
#!/usr/bin/env python3
|
|
import hashlib
|
|
from pathlib import Path
|
|
|
|
script_path = Path("/root/.hermes/wizard-outputs/spark/checksum_validator.py")
|
|
actual_hash = hashlib.sha256(script_path.read_bytes()).hexdigest()
|
|
print(actual_hash) |