Skip to content

Update StringUtils.java - #114

Open
inonwir wants to merge 1 commit into
Meituan-Dianping:masterfrom
inonwir:patch-1
Open

Update StringUtils.java#114
inonwir wants to merge 1 commit into
Meituan-Dianping:masterfrom
inonwir:patch-1

Conversation

@inonwir

@inonwir inonwir commented Jul 6, 2025

Copy link
Copy Markdown

Add md5FromFile to StringUtils for computing file checksums

  • Adds a new method md5FromFile(String pathToResource) that computes the MD5 checksum of a file's contents.
  • Complements the existing md5(String input) for strings.
  • Inspired by a common StackOverflow pattern for file hashing.

Add md5FromFile to StringUtils for computing file checksums
@Jackckr

Jackckr commented Jul 6, 2025 via email

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants