API reference / @evolu/common / Evolu/Owner / OwnerSecret
Variable: OwnerSecret
const OwnerSecret: BrandType<
BrandType<
Type<
"Brand",
Uint8Array<ArrayBufferLike> & Brand<"Entropy">,
Uint8Array<ArrayBufferLike>,
BrandWithoutRefineError<"Entropy", Uint8ArrayError>,
Uint8Array<ArrayBufferLike>,
never
>,
"Length32",
LengthError<32>,
BrandWithoutRefineError<"Entropy", Uint8ArrayError>
>,
"OwnerSecret",
BrandWithoutRefineError<
"OwnerSecret",
BrandWithoutRefineError<"Entropy", Uint8ArrayError> | LengthError<32>
>,
never
>;
Defined in: packages/common/src/Evolu/Owner.ts:28
32 bytes of cryptographic entropy used to derive Owner keys.
Can be created using createOwnerSecret or converted from a Mnemonic using mnemonicToOwnerSecret.