0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-10-29 18:29:14 +01:00
gitea/modules/auth/password/hash
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
..
argon2.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
bcrypt.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
common.go Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
dummy.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
dummy_test.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
hash.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
hash_test.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
pbkdf2.go Use crypto/sha256 (#29386) 2024-02-25 13:32:13 +00:00
scrypt.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
setting.go Fix various bugs for "install" page (#23194) 2023-03-04 10:12:02 +08:00
setting_test.go Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00