We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b7eafc commit c6903afCopy full SHA for c6903af
hash.py
@@ -33,7 +33,7 @@ def print_hashes(files):
33
sha1 = compute_hash(file, hashlib.sha1)
34
sha256 = compute_hash(file, hashlib.sha256)
35
name = Path(file).name.ljust(33)
36
- size = f"{Path(file).stat().st_size:,} Bytes".replace(",", " ").ljust(20)
+ size = f"{Path(file).stat().st_size:,} Bytes".replace(",", " ").rjust(20)
37
blake2b = compute_hash(file, hashlib.blake2b, digest_size=32)
38
print(f"{md5} | {sha1} | {sha256} | {name} | {size} | {blake2b}")
39
0 commit comments