API Documentation
Everything you need to interact with AccessGrid via API.
Partner pricing
Everything you need to interact with AccessGrid via API.
TWIC / CAC Wiegand 58 bit format
Everything you need to understand TWIC / CAC Wiegand 58 bit format
Card format Overview
A proprietary 58-bit card format used in access control systems, featuring a unique structure composed of 14-bit agency code, 14-bit system code, 20-bit credential code, 4-bit credential series, and 4-bit individual series issue, and 2 parity bits (even and odd), allowing for easy management and avoiding card number duplication for secure, contactless access.
TWIC / CAC Wiegand 58 bit format format properties
14 bits (Bits 2-15), range 0-16,383.
14 bits (Bits 16-29), range 0-16,383.
20 bits (Bits 30-49), range 0-1,048,575.
4 bits (Bits 50-53), range 0-15.
4 bits (Bits 54-57), range 0-15.
Even Parity for Even parity over bits 1-28.
Odd Parity for Odd parity over bits 29-57.
Generate examples
Put in the values for this card format, we'll generate the results in a few different formats.
Here's your example
| Format | Value |
|---|---|
| Hex |
-
|
| Decimal |
-
|
| Binary |
-
|