Skip to content

Commit

Permalink
PR(DOCS): Make cli docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzadlone committed Jun 25, 2024
1 parent 31d857e commit cfaf40e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/website/references/cli/defradb_identity_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ Generate a new identity

Generate a new identity

The generated identity contains:
- A secp256k1 private key that is a 256-bit big-endian binary-encoded number,
padded to a length of 32 bytes in HEX format.
- A compressed 33-byte secp256k1 public key in HEX format.
- A "did:key" generated from the public key.

Example: generate a new identity:
defradb identity new

Expand Down

0 comments on commit cfaf40e

Please sign in to comment.