API reference › @evolu/common › Type › createId
function createId<B>(
deps: RandomBytesDep,
..._validation: IdBrandValidation<B>
): CreatedId<B>;
Defined in: packages/common/src/Type.ts:4255
Creates a cryptographically random Id.
This is the recommended default because it does not encode creation time. Pass a Brand name when the returned Id belongs to one domain entity.