import "crypto/internal/fips140/pbkdf2"
cast.go pbkdf2.go
func Key[Hash fips140.Hash](h func() Hash, password string, salt []byte, iter, keyLength int) ([]byte, error)