semaphore-rs icon indicating copy to clipboard operation
semaphore-rs copied to clipboard

Implementation of Random Identity Generation

Open abhi3700 opened this issue 1 year ago • 0 comments

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 avatar Nov 27 '23 20:11 abhi3700