INNER CODE UNIT · Go

TestArgon2ParamsErrors

GGP1/kure · auth/auth_test.go:62

func TestArgon2ParamsErrors(t *testing.T) {
	cases := []struct {
		desc  string
		input string
	}{
		{
			desc:  "iterations",
			input: "A\n",
		},
		{
			desc:  "memory",
			input: "4\nA\n",
		},
		{
			desc:  "threads",
			input: "4\n500000\nA\n",
		},
	}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…