DID Key
Generating did:key's and did:pkh's
Last updated
Was this helpful?
Generating did:key's and did:pkh's
Last updated
Was this helpful?
The DID Key plugin is responsible for generating DIDs and keypairs on the fly using a 32 Byte input seed. It implements the , and allows consumers and consuming plugins to easily get a DID or keypair that can be derived from the input seed.
The main use case for this plugin is to satisfy the , allowing other plugins to build on top of this and do useful things with the holder's key material, without need to directly manage access to the holder's key material.
Instantiation is straightforward—simply pass in a random 32 Bytes to use as entropy, and you will gain access to DIDs and keypairs associated with those 32 Bytes: