EternallyAscend / GoToolkits

Audit required: MD5 cipher algorithm is cryptographically broken GO-S1023
Security
Major
2 years ago2 years old
MD5 hash algorithm is insecure: md5.New()
 5// https://www.jianshu.com/p/5b6f7110eb52
 6
 7func MD5(value []byte) []byte {
 8	hashValue := md5.New() 9	hashValue.Write(value)
10	hashResult := hashValue.Sum(nil)
11	return hashResult