Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/packages/autogen-studio/autogenstudio/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@

def sha256_hash(text: str) -> str:
"""
Compute the MD5 hash of a given text.
Compute the SHA-256 hash of a given text.

:param text: The string to hash
:return: The MD5 hash of the text
:return: The SHA-256 hash of the text, hex-encoded.
"""
return hashlib.sha256(text.encode()).hexdigest()

Expand Down
Loading