Consensys / surya

A set of utilities for exploring Solidity contracts
Apache License 2.0
1.06k stars 118 forks source link

SHA-1 is depreciated #195

Open rya-sge opened 4 months ago

rya-sge commented 4 months ago

Hello,

Thank you very much for your library !

Why using SHA-1 instead of, e.g. SHA-256, to create the hash for the file ? See mdreport.js#L5C27-L5C36

SHA-1 is considered as depreciated NIST Retires SHA-1 Cryptographic Algorithm

Best !