Linear Scan
The linear scan example scans a list of secret values from multiple parties, checking for the existence of specific values. The example uses a reusable helper function for the logic for determining whether a given value is present or isn't present in the list.
- Nada program
- Test file
src/list_scan_linear.py
loading...
tests/list_scan_linear_test.yaml
loading...
Run and test the list_scan_linear program
1. Open "Nada by Example"
2. Run the program with inputs
from the test file
nada run list_scan_linear_test
3. Test the program with inputs
from the test file against the expected_outputs
from the test file
nada test list_scan_linear_test