Atualizar src-py/renatoxsr/utils/hash_b58.py

This commit is contained in:
2026-09-26 15:01:18 -03:00
parent 6d1baba953
commit 91917eb8f1
+1 -1
View File
@@ -14,7 +14,7 @@ def hash_b58(src_arg: str | Path, hash_algo="sha256", output_print=True, output_
hash_hex = hash.hexdigest()
hash_b58 = base58.b58encode(hash.digest()).decode("utf-8")
if output_print:
output_stream.write(f"{hash_algo}:{hash_hex} {hash_b58} '{filename}'\n")
output_stream.write(f"{hash_algo}:{hash_hex} {hash_b58} '{src}'\n")
def hash_recursive_b58(folder: str | Path, glob="*"):