Tool · server-derived · nothing uploaded
DCF and DCK discriminator calculator.
A licence payload carries two values no clerk ever types in: the document discriminator (DCF) and the inventory control number (DCK). This page derives both from a licence number, a date of birth and a surname, using the same function the encoder runs, so you can see what a generator will write before you commit to a symbol.
What the two fields are for
The document discriminator distinguishes two cards issued to the same person. A replacement after a name change, or a reissue after a lost card, must not carry the same DCF as the card it replaces, or a reader keying on that value cannot tell the two records apart. The inventory control number is the serial of the physical card stock, which is why it travels with the payload rather than living in a database the reader cannot reach.
Both are mandatory in the US subfile across every card design revision this encoder supports, and both are values the issuing jurisdiction's system produces rather than the person holding the card.
Why they are derived instead of random
Because nobody types them, a generator has to invent them. Inventing them randomly works once and then stops working: two runs of the same payload produce different discriminators, so a reprint of one card looks like a second card and any diff against a stored symbol is noise. Deriving both from the values that make the card unique fixes that. The licence number, the date of birth and the surname go in; the same two values come out, every time.
How the derivation works
DCF and DCK are read from a SHA-256 digest of DAQ, DBB and DCS joined in that order. The digest is folded into the 32-character alphabet used for these fields, which is the upper-case letters and digits with I, O, 0 and 1 removed so a human reading a printed card cannot confuse them with 1 and 0. Each value is twelve characters: inside the field cap, and long enough that two cards for one person will not collide in practice.
The licence number leads the digest because distinguishing one licence number from another is what a DCF is for. Change the surname and both values move; change nothing and both stay put.
What this is not
This is a derivation, not a copy. A real DMV writes its own DCF and DCK from its own numbering scheme, so a card printed from a payload built here will not match the state's next issue. It will be internally consistent, which is what a reader and a validator check, and it will survive the encoder unchanged.
If you are building against the API, the same function is at
GET /api/v1/derive and takes the three parameters shown above. It
answers JSON and is cached for a day. The joker buttons on the
generator call the same route, so the
values here are the values the generator writes. To check a licence number
against a jurisdiction's character set first, use the
format checker.