This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
util: crypto: Create secure_hash and insecure_hash functions #297
Labels
enhancement
New feature or request
good first issue
Good for newcomers
p2
Medium Priority
tS
Esitmated Time To Complete: Short
Milestone
Throughout the codebase we have calls to
hashlib
, usuallymd5
,sha256
, orsha384
.It would be good to have the calls to hashlib go through a helper function. So we can better track where hashes are being used for convenience (to shorten an otherwise long value), or where hashes are being used there might be a security consequnce to using the wrong hash.
Change to
insecure_hash
md5
is currently only used in the dataflow visualization._filename
and similar)Use
secure_hash
The text was updated successfully, but these errors were encountered: