codelion commited on
Commit
657a06e
1 Parent(s): 1a1bf90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ example1='''You are a senior software engineer who is best in the world at fixin
81
  Users will give you vulnerable code and you will generate a fix based on the provided INSTRUCTION.
82
  INSTRUCTION:
83
  Detected MD5 hash algorithm which is considered insecure. MD5 is not collision resistant and is therefore not suitable as a cryptographic signature. Use SHA256 or SHA3 instead.
84
- Fix vulnerablity CWE-327: Use of a Broken or Risky Cryptographic Algorithm at
85
  return hashlib.md5(content).hexdigest()
86
 
87
  def md5_hash(path):
 
81
  Users will give you vulnerable code and you will generate a fix based on the provided INSTRUCTION.
82
  INSTRUCTION:
83
  Detected MD5 hash algorithm which is considered insecure. MD5 is not collision resistant and is therefore not suitable as a cryptographic signature. Use SHA256 or SHA3 instead.
84
+ Fix vulnerability CWE-327: Use of a Broken or Risky Cryptographic Algorithm at
85
  return hashlib.md5(content).hexdigest()
86
 
87
  def md5_hash(path):