API reference › @evolu/common › local‑first/Auth › WrappedDeviceSecret
const WrappedDeviceSecret: brand(
"WrappedDeviceSecret",
length(72)(Uint8ArrayType),
);
Defined in: packages/common/src/local-first/Auth.ts:192
A DeviceSecret wrapped by a key from a DeviceSecretKeyProvider: a 24-byte nonce, the 32-byte ciphertext, and its 16-byte authentication tag. The format is permanent once shipped.