API reference / @evolu/common / local-first / OwnerEncryptionKey

Variable: OwnerEncryptionKey

const OwnerEncryptionKey: BrandType<
  BrandType<
    BrandType<
      Type<
        "Brand",
        Uint8Array<ArrayBufferLike> & Brand<"Entropy">,
        Uint8Array<ArrayBufferLike>,
        BrandWithoutRefineError<"Entropy", Uint8ArrayError>,
        Uint8Array<ArrayBufferLike>,
        never
      >,
      "Length32",
      LengthError<32>,
      BrandWithoutRefineError<"Entropy", Uint8ArrayError>
    >,
    "EncryptionKey",
    BrandWithoutRefineError<
      "EncryptionKey",
      BrandWithoutRefineError<"Entropy", Uint8ArrayError> | LengthError<32>
    >,
    never
  >,
  "OwnerEncryptionKey",
  BrandWithoutRefineError<
    "OwnerEncryptionKey",
    BrandWithoutRefineError<
      "EncryptionKey",
      BrandWithoutRefineError<"Entropy", Uint8ArrayError> | LengthError<32>
    >
  >,
  never
>;

Defined in: packages/common/src/local-first/Owner.ts:90

Symmetric encryption key for Owner data protection.

Was this page helpful?