ExportableEd25519KeygenResult
@sodot/sodot-web-sdk • Docs
@sodot/sodot-web-sdk / ExportableEd25519KeygenResult
Class: ExportableEd25519KeygenResult
An ExportableEd25519 key generation result, generated by the ExportableEd25519.sample_key and ExportableEd25519.receive_key functions.
It contains a public key for ExportableEd25519.
It also contains a hex string of the secret share itself.
This must be kept secret! Note this data is not stored by the SDK itself.
Constructors
new ExportableEd25519KeygenResult()
new ExportableEd25519KeygenResult(
pubkey,secretShare):ExportableEd25519KeygenResult
Parameters
• pubkey: Uint8Array<ArrayBufferLike>
An Uint8Array that represents the public key generated.
• secretShare: string
A hex string that represents the secret share created during key generation.
Returns
A new ExportableEd25519KeygenResult object
Properties
pubkey
pubkey:
Uint8Array<ArrayBufferLike>
secretShare
secretShare:
string