giskard
giskard copied to clipboard
Update password hashing to use SHA-256 for enhanced security!
The change involves replacing the existing code hashlib.md5(string.encode()).hexdigest()
with the more robust hashlib.sha256(string.encode()).hexdigest()
.
This adjustment enhances resistance against potential security threats and aligns with best practices for cryptographic hash functions.