As the number of concurrent users increases, the number of sessions grows accordingly, placing excessive load on the session server.
DAT is a token specification designed to resolve this session server load problem and to implement efficient, Stateless authentication that does not share state between servers.
Expiration Time : uint64 (Unix Time)
CID : Hex (uint64)
Plain Data : Base64Url (Binary)
Secure Data : Base64Url (Binary)
Signature : Base64Url (Binary)
DAT and JWT (JSON Web Token) share a dot (.) delimited token structure and a signature-based verification approach, but differ in the following key ways in their internal design.
JWT Structure
| header | body | signature |
|---|---|---|
| Base64Url (JSON String) | Base64Url (JSON String) | Base64Url (Binary) |
DAT Structure
| Expiration Time | CID | Plain Data | Secure Data | Signature |
|---|---|---|---|---|
| Unixtime (uint64) | Hex (uint64) | Base64Url (Binary) | Base64Url (Encrypt Binary) | Base64Url (Binary) |
Secure Data (secure) field): JWT exposes the Payload in plaintext by default, requiring a separate spec such as JWE when encryption is needed. In contrast, DAT supports encryption natively through the Secure Data field.exp (Claims) field is optional, but in DAT the Expiration Time (expire) field is structurally mandatory, making expiration validation a required step.