pm-idm
pm-idm copied to clipboard
Add salt when hashing identity DID
Description
The identity id is calculated has sha256(did)
. To further improve privacy and to avoid rainbow tables, we should do HMAC where the secret is the locker secret.
Acceptance Criteria
- [ ] Change all the code that calculate the identity id to use HMAC + SHA256