The Owner represents the Evolu database owner, a user. Instead of traditional email with a password, the Owner uses a mnemonic, also known as a "seed phrase," which is a set of 12 words in a specific order chosen from a predefined list.

The purpose of the BIP39 mnemonic is to provide a human-readable way of storing a private key.

Mnemonic is generated safely in the user's device and must not be shared with anyone.

interface Owner {
    encryptionKey: Uint8Array;
    id: OwnerId;
    mnemonic: Mnemonic;
}

Properties

encryptionKey: Uint8Array

The encryption key safely derived from Mnemonic.

The unique identifier safely derived from Mnemonic.

mnemonic: Mnemonic

The Mnemonic associated with Owner.