HTHou opened a new pull request, #289:
URL: https://github.com/apache/tsfile/pull/289

   Fixes 
[https://github.com/apache/tsfile/security/code-scanning/13](https://github.com/apache/tsfile/security/code-scanning/13)
   
   To fix the problem, we need to replace the use of the MD5 algorithm with a 
stronger, modern cryptographic algorithm. The SHA-256 algorithm is a suitable 
replacement as it provides a higher level of security and is widely accepted 
for cryptographic purposes.
   
   - Replace `MessageDigest.getInstance("MD5")` with 
`MessageDigest.getInstance("SHA-256")`.
   - Ensure that the rest of the code that processes the digest remains 
compatible with the new algorithm.
   
   
   _Suggested fixes powered by Copilot Autofix. Review carefully before 
merging._
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to