Atualizar src-py/renatoxsr/utils/hash_b58.py
This commit is contained in:
@@ -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="*"):
|
||||
|
||||
Reference in New Issue
Block a user