# DAT - Distributed Access Token
## Document
### [DAT Run Online](https://dat.saro.me)
### [What is DAT](https://dat.saro.me/--/intro)
### [Rust Example](https://dat.saro.me/--/libs/cargo-dat)
## support signature algorithm
| P256 | secp256r1 |
| P384 | secp384r1 |
| P521 | secp521r1 |
## support crypto algorithm
| AES128GCMN | aes-128-gcm n(nonce + body) |
| AES256GCMN | aes-256-cbc n(nonce + body) |
# Performance
- random plain and secure test
- mac mini m4 2024 basic (10 core)
- release compile
- [dat_performance_test.rs](tests/dat_performance_test.rs)
```
Testing started at ...
Finished `release` profile [optimized] target(s) in 0.02s
Running tests/dat_performance_test.rs (target/release/deps/dat_performance_test-a53c7f65eaf0d355)
performance test (plain, secure)
plain: 71V4ROwJ3xR1LoxE63CsNYFzOmapawckQ0iudZYlaw53pUptfYWFMf23yJEqQg2NwzGnJu7LjrJKeZk6N1y3YzjY9cSuaUvIxFKG
secure: zJBdbCkWUG3DWbNJmKpWmdnUWEzEXTJxOA7ZDHv0PQ5nWPZ1BC7x9Ig1418hcGEqBMV5gLPhW4MKOBM4Gh4HxRLB6C37hJG1W0pb
P256/AES128GCMN issue * 10000 : 133ms
P256/AES128GCMN parse * 10000 : 222ms
P256/AES256GCMN issue * 10000 : 161ms
P256/AES256GCMN parse * 10000 : 209ms
P384/AES128GCMN issue * 10000 : 464ms
P384/AES128GCMN parse * 10000 : 710ms
P384/AES256GCMN issue * 10000 : 469ms
P384/AES256GCMN parse * 10000 : 695ms
P521/AES128GCMN issue * 10000 : 426ms
P521/AES128GCMN parse * 10000 : 711ms
P521/AES256GCMN issue * 10000 : 431ms
P521/AES256GCMN parse * 10000 : 721ms
```