API reference / @evolu/common / Crypto / EncryptionKey

Variable: EncryptionKey

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

Defined in: packages/common/src/Crypto.ts:119

The encryption key for SymmetricCrypto.

Was this page helpful?