Skip to content

Implementation of Random Identity Generation#59

Open
abhi3700 wants to merge 1 commit intoworldcoin:mainfrom
abhi3700:gen-random-identity
Open

Implementation of Random Identity Generation#59
abhi3700 wants to merge 1 commit intoworldcoin:mainfrom
abhi3700:gen-random-identity

Conversation

@abhi3700
Copy link

Motivation

Developing a method to assign unique IDs (commitments) to users and securely manage their identity secrets (trapdoor & nullifier) in a custodial setup.

Solution

  1. Generate a random number.
  2. Convert this number to a string.
  3. Transform the string to bytes.
  4. Shape these bytes into a fixed-length array for Identity::from_secret().

@abhi3700 abhi3700 changed the title Added code for generating random identity, not from seed Implementation of Random Identity Generation Nov 28, 2023
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.

3 participants