PharmaLedger-IMI / ctr-workspace

UC8 Clinical Trials Recruitment
MIT License
2 stars 0 forks source link

Patient DID deterministic to non-deterministic or de-identified hash #7

Open joaoluis-pdm opened 3 years ago

joaoluis-pdm commented 3 years ago

The patient DID generated at https://github.com/PharmaLedger-IMI/ctr-workspace/blob/c386c78de1b7bb6dbfcd57477b9e165b22bf9235/ctr-patient/ctr-dsu-wizard/managers/ParticipantManager.js#L41 is deterministic.

It should be replaced by

a random/anonymous one,

or

a non-reversible (non-identifiable) hash.