You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/avatar
Gusted 96797fed31
Unify hashing for avatar (#22289)
- Unify the hashing code for repository and user avatars into a
function.
- Use a sane hash function instead of MD5.
- Only require hashing once instead of twice(w.r.t. hashing for user
avatar).
- Improve the comment for the hashing code of why it works.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
1 year ago
..
identicon Implement FSFE REUSE for golang files (#21840) 2 years ago
testdata Improve handling of non-square avatars (#7025) 5 years ago
avatar.go Implement FSFE REUSE for golang files (#21840) 2 years ago
avatar_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
hash.go Unify hashing for avatar (#22289) 1 year ago