Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of Random Identity Generation #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

1 participant