API reference / @evolu/common / Crypto / EncryptionKey
Variable: EncryptionKey
const EncryptionKey: 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
>;
Defined in: packages/common/src/Crypto.ts:106
The encryption key for SymmetricCrypto.