[**@sodot/sodot-web-sdk**](/web/api-ref) • **Docs**

***

[@sodot/sodot-web-sdk](/web/api-ref) / Ed25519InitKeygenResult

# Class: Ed25519InitKeygenResult

An Ed25519 key init result, generated by the `Ed25519.keygenInit` function.
It contains a base58 string keygenId that must be provided to other parties we intend to perform keygen with.
It also contains a hex string of the **secret** keygen value that must be used during keygen.

## Constructors

### new Ed25519InitKeygenResult()

> **new Ed25519InitKeygenResult**(`keygenId`, `keygenSecret`): [`Ed25519InitKeygenResult`](/web/api-ref/classes/Ed25519InitKeygenResult)

#### Parameters

• **keygenId**: `string`

A base58 string that is a public value that should be provided to other parties we intend to perform keygen with.

• **keygenSecret**: `string`

A hex string that represents a **secret** value that must be provided when participating in keygen.

#### Returns

[`Ed25519InitKeygenResult`](/web/api-ref/classes/Ed25519InitKeygenResult)

A new Ed25519InitKeygenResult object

## Properties

### keygenId

> **keygenId**: `string`

***

### keygenSecret

> **keygenSecret**: `string`
