Hex-encoded public key, or null before generation.
Hex-encoded private key, or null before generation.
Algorithm used for the last generated pair.
Generate a new key pair (optionally override the default algorithm).
True while a key pair is being generated.
Return type of the useKeypair hook.
Example