Get Started

Research case study

Privacy-Preserving Record Linkage for Gospel Impact Research

An applied research case study in cross-ministry record linkage, cryptographic architecture and institutional risk.

Published
Always Foundation, November 2026
Scope
Research problem, prior literature, architecture, implementation, testing, threat model and institutional decision
Technical record
ADR 0012 (withdrawn); ADR 0013

What exists today. Nothing in operation. The architecture was implemented and tested but never operated with real participant records. Always Foundation then decided not to build it into the live platform, and does not operate cross-organisation person linkage. The change that removes the test implementation is awaiting the platform’s required review. See ADR 0013.

1Abstract

Background. People rarely come to faith, or grow in it, through a single organisation. A person may respond at an event, complete a course run by another ministry, read the Bible with a friend and later join a local church. Each organisation observes one stage. Funders and networks supporting many independent ministries can therefore measure activity, but not progression between ministries, and cannot avoid counting one person several times.

Objective. To determine whether independent ministries could recognise records relating to the same consenting adult without exchanging their databases, and what institutional risks such a capability would carry.

Method. We reviewed Australian health research on privacy-preserving record linkage (PPRL), designed a consent-based, deterministic linkage architecture using HMAC-SHA256 over a normalised mobile number with organisation-specific identifiers, implemented it in Always Platform, and tested it against synthetic data. We then conducted a threat analysis of the design in its intended institutional setting.

Results. The implementation met its functional and access-control specifications under automated tests: consent and age rules were enforced by the database, organisations received uncorrelated identifiers, and withdrawal removed links. Linkage accuracy was not evaluated. The threat analysis identified residual risks that the design does not remove, chiefly the concentration of key custody in a single organisation, re-identification from milestone sequences in small communities, compelled disclosure, and growth in the dataset’s sensitivity with adoption.

Conclusion. Always Foundation decided not to deploy this architecture on its platform and recorded a standing prohibition on cross-organisation person linkage (ADR 0013). The decision concerns Always’s own role and this design. Cross-ministry longitudinal measurement remains an open research problem.

2Research problem and significance

Consider a hypothetical individual, Sam, who responds at a youth event in February, enrols in a course run by another ministry in March, joins a Bible reading group through a third in April, and is welcomed by a local church in May. Four organisations each hold one record. None can observe the sequence.

One person, four organisations. One person, four organisationsFigure 1One person, four organisationsFour organisations each hold one record about the same person. A central linked record would exist only if linkage were built.Central journey recordwould exist only if records were linkedYouth eventSamResponded, Febown record onlyCourseSamEnrolled, Marown record onlyBible studySamReading, Aprown record onlyLocal churchSamWelcomed, Mayown record onlyFeb 2026Mar 2026Apr 2026May 2026Solid: the path Sam actually takes. Dashed: the record linkage would create.
One individual, four organisations. Each organisation holds its own record. Linkage would reconstruct the sequence by creating a linked record held by the linkage service.

2.1 Why it matters

For a single ministry, the consequence is incomplete follow-up: an event team does not learn whether a respondent found a church, and a church does not know what steps a newcomer has already taken. For funders and networks it is a measurement problem. Organisations supporting evangelism, discipleship and church planting across many independent ministries receive substantial activity data, but cannot observe whether the same individuals progress from one ministry to the next. The sector’s fragmentation, with different systems, different data and different levels of technical capacity, has made the problem difficult to define in technical terms.

Australian health research faces a structurally similar problem: sensitive records about the same people held by separate custodians. Pastoral and clinical care have long been compared. Martyn Lloyd-Jones trained in medicine at St Bartholomew’s Hospital and worked as assistant to the Royal Physician, Sir Thomas Horder, before spending two years deciding whether to give up medicine to become a ‘physician of the soul’; in 1927 he accepted a call to a struggling church in Aberavon, Port Talbot.[10, 11] The analogy made health information practice a natural point of departure.

2.2 Research questions

  1. Can independent ministries recognise records relating to the same consenting adult without exchanging their databases?
  2. What architecture, drawing on established PPRL practice, would achieve this with the least collection and disclosure?
  3. What residual risks and governance requirements would such a capability carry in a voluntary network of churches and ministries?

2.3 What linkage can and cannot show

Record linkage joins recorded events, such as a response, an introduction or a welcome. It does not establish that one event caused another, and it does not measure spiritual conversion or growth, which no administrative record can observe. Any use of linked data for impact assessment would need to be interpreted within those limits.

3Prior research: Australian healthcare and PPRL

This section summarises established findings from the literature. None of these results was produced by Always, and none validates Always’s implementation, which used a different method on different data.

3.1 Record linkage and its privacy-preserving form

Record linkage identifies records that refer to the same individual across separate collections. Privacy-preserving record linkage performs this without the collections disclosing identifying information to one another. In the trusted-third-party model common in Australian health, each data custodian supplies only encoded identifiers to a linkage unit, which determines matches and returns link keys in place of identities.[1, 2]

3.2 Deterministic and probabilistic methods

Deterministic matching on keyed hashes applies a secret-keyed one-way function to a normalised identifier. Two records match only if their encodings are identical, so any variation in the identifier produces a missed link. Probabilistic matching on Bloom-filter encodings splits identifiers such as names into character fragments and sets bits in a filter. Encodings can then be compared for similarity, which tolerates spelling and transcription variation and supports probabilistic match decisions.[3, 4] The Australian evaluations below concern Bloom-filter methods.

3.3 Infrastructure and evaluation

  1. 1995
    WA Data Linkage System

    Established in Western Australia; described as Australia’s longest-running data linkage agency, with linked data used in over 800 research projects.[1]

  2. 2006–10
    Population Health Research Network

    National investment under the National Collaborative Research Infrastructure Strategy funds linkage units in each state and a Centre for Data Linkage for cross-jurisdictional linkage, whose operating model was endorsed in 2010.[2]

  3. 2014
    Cryptanalysis of basic Bloom filters

    Niedermeyer and colleagues show that an attack on bigram-based Bloom filters can decipher an entire database of encrypted surnames.[6]

  4. 2018
    Real-world performance, NSW

    Linkage of 272,202 primary-care records from 16 general practices with 42.8 million emergency, hospital and death records achieved precision, recall and F-measure above 0.90 against a probabilistic gold standard, and about 0.98 to 0.99 when existing links were used.[4]

  5. 2019
    Precise and fast cryptanalysis

    Christen and colleagues present an attack that re-identifies attribute values encoded in Bloom filters from large real-world databases in minutes.[5]

  6. 2022
    Blinded evaluation, WA

    Hospital morbidity and death records for 2011–2015 linked with Bloom filters in a blinded setting produced 99.3% of groupings identical to clear-text linkage.[3]

Figure 2 Selected milestones in Australian record linkage and PPRL research. All results are from the cited literature.

3.4 Governance and consent

Health linkage operates within an institutional setting that complements its cryptography: separation between custodians and linkers, enabling legislation, ethics review and published methods. Most population health research facilitated by the WA linkage branch proceeds under an ethics-approved waiver of consent.[1] The ministry design examined here would instead have required each person’s own consent.

4Technical architecture and implementation

The design was implemented within the Always Platform API and PostgreSQL database, published as open source and recorded in ADR 0012.[12] Its tables and triggers were introduced by database migration and are removed by migration 0022.

Table 1 Design options considered.
Pooled databaseManual reconciliationKeyed-hash PPRL (chosen)
Records exchangedAll, with every participantIdentities circulated between staffNone; encoded identifiers only
Effect of one breachEvery record exposedScattered and untrackedFingerprints, unusable without the key
MatchingExact or fuzzy, in the clearManual judgementDeterministic, exact
Residual trustEvery participantEvery recipientThe linkage service and its keys
Linkage architecture as implemented. Linkage architecture as implementedFigure 3Linkage architecture as implementedLinkage architecture: a mobile number is normalised, transformed with HMAC-SHA256 under a key held outside the database, matched to a journey, and shown to each organisation under a different pseudonym.Input, with consent0412 345 678Normalise+61412345678Keyed hashHMAC-SHA256(LINK_KEY, number)Fingerprint9f3c…e1a7Key management serviceLINK_KEYORG_CODE_KEYDatabase boundaryMatchfingerprint →journey j_7…Per-organisation pseudonymHMAC(ORG_CODE_KEY, journey | org)Course ministry seesjny_Q2v…Local church seesjny_8Lk…≠Without the key, a fingerprintcannot be computed from anumber or reversed into one.Two organisations comparingpseudonyms cannot tell theyhold the same person.
Linkage architecture as implemented. The number is normalised and transformed under LINK_KEY, held outside the database. The fingerprint is matched to a journey, which each organisation sees under an identifier derived with ORG_CODE_KEY. Values are illustrative.

4.1 Consent and eligibility

Linkage required a distinct consent purpose, share.journey, never pre-selected and separate from consent to be introduced to a church. The API rejected the purpose for anyone under 18. Independently of the API, database constraints refused to link a minor or to link without a current, unwithdrawn consent. These rules were not configurable.

4.2 Identifier normalisation

Australian mobile numbers are written in many forms. Before transformation each was reduced to a canonical form, +614XXXXXXXX, so that the same number always produced the same fingerprint. Identifiers that were not Australian mobile numbers were not linked.

4.3 Keyed fingerprint

The fingerprint was HMAC-SHA256(LINK_KEY, normalised number), a standard keyed hash.[13] LINK_KEY was supplied through the runtime environment, held apart from the database and from authentication secrets, so that it could be rotated or destroyed independently. Without the key a fingerprint can be neither computed from a number nor inverted to recover one. Matching was deterministic: equal fingerprints were treated as the same person.

4.4 Organisation-specific identifiers

No organisation received the fingerprint or the internal journey identifier. Each received HMAC(ORG_CODE_KEY, journey id | organisation id), stable within that organisation and uncorrelated across organisations, so that two organisations comparing exports could not establish that they held the same individual.

4.5 Disclosure

Table 2 Disclosure by party.
PartyIdentityMilestonesNotes
The individualOwnAll; withdrawal at any timeNone
Each organisation on the journeyIts own record onlyMilestone and monthIts own only
Always PlatformFingerprints and keysAs required to operateNone
Funders and networksNoneAggregates; groups under 10 suppressedNone

Organisations would have seen milestones and months, with their own steps marked; notes, exact dates and the names of other organisations were excluded. The highlighted row is the locus of the residual risk discussed in section 6.

4.6 Reporting

Reports read from a de-identified tally of milestones, not from journeys, and suppressed any group of fewer than ten people, on the principle that a sequence of milestones remains personal information even without a name.

4.7 Withdrawal and audit

Withdrawing share.journey removed the person’s links immediately through a database trigger, and a journey left with no linked responses was deleted. Views of journeys were recorded in the platform’s audit log.

4.8 Why not Bloom filters

Bloom-filter methods offer better tolerance of identifier variation, as the evaluations in section 3 show. They were not adopted for two reasons: the published cryptanalysis of Bloom-filter encodings,[5, 6] and the need for additional identifying attributes, such as names and dates of birth, which would have increased collection. Deterministic matching on one consented identifier accepted missed links in preference to false links or wider collection. It did not resolve the custody problem described in section 6.

5Testing and findings

This section reports Always’s own implementation results. All tests ran against synthetic records in disposable databases. No real participant data was used at any stage.

Table 3 Automated tests of the implementation.
SuiteProperties verified
Unit tests (7)An adult with share.journey is linked; anyone under 18 is never linked, even with the purpose granted; the purpose is separate from consent to be introduced; linking stops when consent is withdrawn or lapses; differently written numbers normalise to the same identifier; only milestone and month are exposed; small numbers are withheld.
API integration tests (7)share.journey is refused for minors; two responses from the same adult through different ministries are linked without the link leaving the platform; a receiving church sees earlier steps by month under its own identifier only; each organisation receives a different identifier for the same person; a church that has not accepted the person sees nothing; withdrawal hides the journey; network totals withhold small numbers.
Database security checksThe database itself refuses to link a minor or to link without consent; the application role cannot read journey tables directly; withdrawal removes links and deletes an empty journey.

5.1 Findings

  • Functional and access-control properties. The implementation behaved as specified under all of the tests above.
  • Linkage accuracy. Not evaluated. No precision, recall or false-match rate was measured, and no simulation of linkage accuracy was conducted. The accuracy figures in section 3 belong to different, probabilistic methods applied to health data and should not be read as properties of this design.
  • Not undertaken. Performance and scale testing, penetration testing, independent security or privacy review, and research into how people understand the consent wording.

The tests therefore establish that the design could be implemented with its consent, separation and withdrawal properties enforced at the database. They do not establish that it would be accurate, secure in operation, or acceptable to participants.

6Threat model and limitations

This section sets out risks identified by analysis. None was observed in operation, because the system was never operated with real records.

The institutional trust boundary. The institutional trust boundaryFigure 4The institutional trust boundaryInstitutional trust boundary: partner organisations send encoded data into the linkage service; the database and the key custody zone sit inside it; outputs are pseudonyms and aggregates. Numbered markers show where each threat applies.Partner organisationsResponse pagesChurch inboxesPartner systemsLinkage service (Always)DatabaseFingerprintsJourneys and milestonesAudit log of every viewKey custodyoutside the databaseLINK_KEYORG_CODE_KEYLeast privilege; access loggedOutputsPseudonyms andmilestones, to eachorganisationAggregates forfunders; groups ofunder 10 withheld12345
  1. 1Database exfiltration. The attacker obtains fingerprints and journeys but not the keys. Withstood by design.
  2. 2Key compromise or misuse. Every fingerprint can be inverted by enumeration and every journey reconstructed. Not withstood.
  3. 3Privileged insider. Access to both the database and key custody. Reduced by least privilege, logging and oversight; not eliminated.
  4. 4Inference from outputs. Sequences of milestones and months may identify an individual in a small community.
  5. 5Compelled disclosure. Courts, regulators or foreign authorities may demand the linked data.
Institutional trust boundary. The design withstands theft of the database. It does not withstand compromise or misuse of the keys, which must be held by some organisation.

6.1 Adversaries

  • A curious organisation sees only milestones for journeys it is part of, under its own identifier.
  • Colluding organisations hold uncorrelated identifiers and cannot join records through the platform; they can compare only what each already held.
  • An external attacker who exfiltrates the database obtains fingerprints and links, but cannot invert fingerprints without the keys.
  • A privileged insider at the linkage service is the strongest adversary, because that is where the keys reside.

6.2 Risk register

Key custody
Australian mobile numbers occupy roughly 108 values. An unkeyed hash would offer no protection, and with the key every number can be enumerated quickly. The protection of every record therefore reduces to the custody of one secret by one organisation.
Sensitivity grows with adoption
Linkage across ten ministries offers modest utility. Linkage across a thousand would create one of the most sensitive datasets on religious participation in the country.
Re-identification
Without the key, a sequence of milestones, places and months may still identify an individual in a small community. Small-cell suppression reduces but does not eliminate this risk.
Compelled disclosure
Linked data may be demanded through legal process, domestically or abroad. Not creating the data avoids this risk entirely.
Scope pressure
Requests for more participants, longer histories and finer reporting are individually defensible and collectively change the character of the dataset.
Consent quality
A single consent tick may not convey to a new participant what linkage across ministries entails. Comprehension was not tested.
Identifier instability
Carriers reissue numbers and families share handsets, which can merge distinct people; a changed number splits one person into two journeys.

6.3 Threat environment

Any system connecting independent organisations takes on the exposure of infrastructure. The Australian Signals Directorate reports that state-sponsored cyber actors continue to pose a serious and growing threat.[7]

1,200+cyber security incidents responded to by ASD’s ACSC in 2024–25, up 11%
190+notifications to critical infrastructure of potential malicious activity, up 111%
95%of health care and social assistance incidents in which malicious actors were successful
Figure 5 The Australian threat environment. Sources: ASD Annual Cyber Threat Report 2024–25; OAIC; AAP.[7, 8, 9]

The MediSecure breach, affecting approximately 12.9 million people, is the largest notified to the OAIC under the Notifiable Data Breaches scheme.[8] A linked record of responses to the Gospel and subsequent church connection would be among the most sensitive collections a ministry network could hold.

6.4 Legal context

Australian law does not prohibit record linkage, but classifies religious belief as sensitive information. Under the Privacy Act 1988, collection generally requires consent, and use or disclosure is confined to the primary purpose or a directly related secondary purpose the individual would reasonably expect. A Children’s Online Privacy Code must be registered by 10 December 2026.[14] This summary is general and is not legal advice.

6.5 Limitations of the design

  • Coverage. Only steps recorded through Always Platform would have been counted.
  • Exact matching. A single identifier misses people who change numbers and cannot recover from errors in entry.
  • Trust. Open code, logging and review reduce the trust required of the linkage service; they do not remove it.
  • Inference. Linked milestones describe recorded events. They do not establish causation and do not measure spiritual conversion.

7Alternative approaches and future research

Cross-ministry longitudinal measurement remains an open research problem. Several questions can be answered without person-level linkage; others would require different technical or institutional arrangements.

Table 4 Evidence obtainable without cross-organisation linkage.
QuestionMethodDisclosure
Did respondents at an event join a church?Handoff outcomes recorded by the receiving churchAggregates per event
Are people still connected after some months?Self-report collected by the chosen church, with consent to countAggregates only
How is a ministry performing over time?The ministry’s own handoffs and outcomes by monthThat ministry
What is happening across a network?Totals across partners, small groups suppressedAggregates only

Questions of progression between ministries, and of attribution, are not answerable in this way. Directions that merit research, none of which Always has evaluated, include:

  • Independent linkage units. Linkage performed by an accredited body separate from any ministry or platform, on the health model described in section 3.
  • Distributed key custody. Threshold schemes in which no single organisation can compute or invert fingerprints alone.
  • Private set intersection and secure multiparty computation. Protocols that let organisations compute overlaps or aggregate statistics without a central linked record, at the cost of revealing the computed result.
  • Formal privacy for released statistics. Differential privacy or similar methods to bound what published aggregates reveal about individuals.
  • Time-limited studies. Discrete, ethics-approved studies with study-specific consent and destruction of linked data at a fixed date.

7.1 Conditions for Always’s participation in any study

Always would consider supporting a future study only if it met all of the following conditions. They describe Always’s own position, not a standard for others.

  1. Conducted by an independent university or accredited researcher, not by Always, a funder or a participating ministry.
  2. Approved by a human research ethics committee.
  3. Study-specific consent in plain language, which may be declined without any effect on care.
  4. Adults only.
  5. Separation of identifying data from study data.
  6. A fixed end date, after which linked data and keys are destroyed and destruction is recorded.
  7. Publication of results in aggregate, irrespective of findings.
  8. No linkage capability in Always Platform, and no linkage key held by Always.
  9. An open decision process: a new architecture decision record, legal and independent privacy review, and board approval.

8Always Foundation’s institutional decision

Record
ADR 0013
Title
No linkage of individuals across organisations
Status
Accepted (awaiting merge)
Date
21 November 2026
Supersedes
ADR 0012 (withdrawn)

Always Foundation decided not to deploy the architecture described in this case study, and does not operate cross-organisation person linkage.

8.1 Basis

The decision rests on institutional judgement informed by the analysis in section 6. Deployment would have made Always the custodian of the keys for every linked record, a role whose risk grows with each participating organisation. Always is not constituted as an independent linkage unit and could not offer the separation, legislative footing and external oversight that support linkage in health. The re-identification, compulsion and scope risks could be reduced but not removed. The assessment was completed while nothing depended on the system: no participant records had been processed, no ministry workflows relied on it and no funder reporting had been built on it.

8.2 Scope

ADR 0013 prohibits, on Always Platform, persistent identity linkage between organisations, central reconstruction of a person’s journey, shared fingerprints or matching codes, databases of religious participation histories, and cross-ministry analytics that recognise the same individual. Participant-initiated referrals to a chosen church or ministry, each organisation’s own reporting, and aggregate statistics without cross-organisation linkage remain within scope. Exceptions for major funders or high-impact programmes are excluded.

8.3 Implementation

The implementation, its database objects and its configuration keys are removed by migration 0022 and accompanying code changes. These are submitted for the platform’s required independent review and are not yet merged. The decision record, the removal and the tests asserting that no linkage remains are public, in an open pull request in the platform repository.[12, 15]

8.4 What the decision does not claim

The decision concerns Always’s own platform and role, and this design. It is not a conclusion about privacy-preserving record linkage generally, nor about whether churches, ministries or researchers should pursue longitudinal research under other technical and governance arrangements.

Always concluded that it should not hold this capability, whatever its technical merits.

9References and technical documentation

Literature

  1. Hodges S, Eitelhuber T, Merchant A, Alan J. Population Data Centre Profile: the Western Australian Data Linkage Branch. International Journal of Population Data Science 2020. PMC7477781
  2. Boyd JH, et al. Data linkage infrastructure for cross-jurisdictional health-related research in Australia. BMC Health Services Research 2012;12:480. PMC3579698
  3. Randall S, Wichmann H, Brown A, Boyd J, Eitelhuber T, Merchant A, Ferrante A. A blinded evaluation of privacy preserving record linkage with Bloom filters. BMC Medical Research Methodology 2022;22:22. doi:10.1186/s12874-022-01510-2
  4. Irvine K, Smith M, de Vos R, Brown A, Ferrante A, Boyd J, Thackway S. Real world performance of privacy preserving record linkage. International Journal of Population Data Science 2018. DOAJ
  5. Christen P, Ranbaduge T, Vatsalan D, Schnell R. Precise and fast cryptanalysis for Bloom filter based privacy-preserving record linkage. IEEE Transactions on Knowledge and Data Engineering 2019;31(11):2164–2177. ANU Open Research
  6. Niedermeyer F, Steinmetzer S, Kroll M, Schnell R. Cryptanalysis of basic Bloom filters used for privacy preserving record linkage. Journal of Privacy and Confidentiality 2014;6(2). DOAJ
  7. Australian Signals Directorate. Annual Cyber Threat Report 2024–25. cyber.gov.au
  8. Office of the Australian Information Commissioner. Statement on MediSecure breach. 18 July 2024. oaic.gov.au
  9. Australian Associated Press. Millions of people hit by prescription cyber attack. 2024. aapnews.aap.com.au
  10. MLJ Trust. Meet Martyn Lloyd-Jones. mljtrust.org
  11. MLJ Trust. 10 years and 20 million downloads. mljtrust.org
  12. Always Platform. Architecture decision records ADR 0012 (withdrawn) and ADR 0013. github.com/alwaysfoundation/always-platform
  13. Krawczyk H, Bellare M, Canetti R. HMAC: Keyed-Hashing for Message Authentication. RFC 2104. IETF, 1997. rfc-editor.org
  14. Office of the Australian Information Commissioner. Children’s Online Privacy Code. oaic.gov.au
  15. Always Platform. Pull request 41: removal of record linkage, migration 0022 and tests. github.com/alwaysfoundation/always-platform/pull/41

Technical documentation

  • Consent purpose share.journey; keys LINK_KEY and ORG_CODE_KEY (removed).
  • Unit tests packages/core/test/journey.test.ts; API tests apps/api/test/journeys.test.ts; database checks db/test/journeys_rls_test.sql (in repository history).
  • Migration 0022_retire_journeys.sql; regression tests asserting no linkage remains in apps/api/test/api.test.ts.

This case study is published for transparency and does not constitute legal advice. Correspondence is welcome at hello@alwaysfoundation.org.