1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-09 11:44:27 +00:00
gitea/modules/avatar
KN4CK3R f79c9e817a
Use crypto/sha256 (#29386)
Go 1.21 improved the performance of `crypto/sha256`. It's now similar to
`minio/sha256-simd`, so we should just use the standard libs.

https://go.dev/doc/go1.21#crypto/sha256
https://go-review.googlesource.com/c/go/+/408795
https://github.com/multiformats/go-multihash/pull/173
2024-02-25 13:32:13 +00:00
..
identicon Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
testdata Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2023-05-13 20:59:11 +02:00
avatar_test.go Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2023-05-13 20:59:11 +02:00
avatar.go Remove nfnt/resize and oliamb/cutter (#25999) 2023-07-20 19:52:42 +08:00
hash_test.go Add unit test for HashAvatar (#25662) 2023-07-04 12:43:38 +00:00
hash.go Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00