Skip to content

Commit e639343

Browse files
committed
Add code to list available hash algorithms
1 parent 78a3081 commit e639343

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.MD

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ from integrity import inTegrity
2525
# Create an instance of the inTegrity class
2626
hasher = inTegrity('sha256')
2727

28+
# List available hash algorithms
29+
print(hasher.available_algorithms)
30+
2831
# Hash a file
2932
hash_value = hasher.hash_file('path_to_your_file')
3033

0 commit comments

Comments
 (0)