(t *testing.T)
| 254 | } |
| 255 | |
| 256 | func TestDeriveKey_Deterministic(t *testing.T) { |
| 257 | // Same input should produce same output |
| 258 | key1, err := deriveKey([]byte("samepassword")) |
| 259 | require.NoError(t, err) |
| 260 | |
| 261 | key2, err := deriveKey([]byte("samepassword")) |
| 262 | require.NoError(t, err) |
| 263 | |
| 264 | assert.Equal(t, key1, key2) |
| 265 | } |
| 266 | |
| 267 | func TestDeriveKey_DifferentPasswords(t *testing.T) { |
| 268 | key1, err := deriveKey([]byte("password1")) |
nothing calls this directly
no test coverage detected