varol-adem / juice-shop

OWASP Juice Shop: Probably the most modern and sophisticated insecure web application
https://owasp-juice.shop
MIT License
0 stars 0 forks source link

Fix code scanning alert - Semgrep Finding: contrib.nodejsscan.crypto_node.node_md5 #19

Closed varol-adem closed 9 months ago

varol-adem commented 9 months ago

Zayıf bir algoritma olan md5 kullanılmış. Tracking issue for:

varol-adem commented 9 months ago

export const hash = (data: string) => crypto.createHash('sha256').update(data).digest('hex') şeklinde çözülebilir.