-
Task
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
None
-
None
Using SHA-1 for cryptographic purposes is not recommended anymore since it is becoming cheaper to find hash collisions (i.e. any two values that produce the same hash). This is not an acute problem, since this is not equivalent to finding a clear text password that produces the same hash for a given hash, or even finding the clear text password for a hash. Yet, it is an indicator for SHA-1 becoming weaker. We could switch to SHA-256 which is considered more safe.
Related documents:
Or use bcrypt (or any other "slow" hashing function)