API reference › @evolu/common › local‑first/Auth › WrappedDeviceSecret
type WrappedDeviceSecret = Uint8Array<ArrayBufferLike> &
import("../Brand.ts").Brand<"Length72"> &
import("../Brand.ts").Brand<"WrappedDeviceSecret">;
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.