Skip to content

Commit

Permalink
Modified docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamzhang1987 committed Dec 26, 2021
1 parent cd6a210 commit a31e740
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pybt/token.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
from hashlib import md5

def get_md5(s):
"""Get md5 string"""
"""Get md5 string
Args:
s (str): The string.
"""
m = md5()
m.update(s.encode("utf-8"))
return m.hexdigest()
Expand Down

0 comments on commit a31e740

Please sign in to comment.