Skip to content

implemented proof of concept for encrypting and decrypting uid2 v4 format#1936

Open
sophia-chen-ttd wants to merge 1 commit intomainfrom
sch-UID2-5835-refreshable-uids-proof-of-concept
Open

implemented proof of concept for encrypting and decrypting uid2 v4 format#1936
sophia-chen-ttd wants to merge 1 commit intomainfrom
sch-UID2-5835-refreshable-uids-proof-of-concept

Conversation

@sophia-chen-ttd
Copy link
Contributor

@sophia-chen-ttd sophia-chen-ttd commented Jul 31, 2025

Test generating v4 format:

  • generating IV

  • encrypting first level hash

  • constructing v4 UID with metadata + key id + IV + encrypted first level hash + checksum

  • assert UID is length 33

  • assert UID can be extracted into the components metadata + key id + IV + encrypted first level hash + checksum

  • assert encrypted hash can be decrypted into first level hash

  • assert UID can be reconstructed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant