# 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
- [bench_test.rs](tests/bench_test.rs)
```
Testing started at ...
Finished `release` profile [optimized] target(s) in 0.07s
Running tests/dat_performance_test.rs (target/release/deps/dat_performance_test-5950e8e64bef37b3)
performance test (plain, secure)
plain: ahRuMfH0ltVx1LBAiGrUuAIfeZeQxMAjqQZ6MF8ZjWuU0zqUyHMWB6BrQjvlFDULO1KRoDCVe6WXZI3YPWy8nir0y10N8HxRStBU
secure: 82cJcEwvItxPsKdlTqF9vtzMhICLvotkutEhqlx6Tj8iRdRBqz7yjAOZhN23CYdzfuTUFccLyTqMbw6CJ5qCiVERU437K0mmkn4U
P256/AES128GCMN issue * 10000 : 25ms
P256/AES128GCMN parse * 10000 : 54ms
P256/AES256GCMN issue * 10000 : 24ms
P256/AES256GCMN parse * 10000 : 66ms
P384/AES128GCMN issue * 10000 : 89ms
P384/AES128GCMN parse * 10000 : 194ms
P384/AES256GCMN issue * 10000 : 85ms
P384/AES256GCMN parse * 10000 : 183ms
P521/AES128GCMN issue * 10000 : 144ms
P521/AES128GCMN parse * 10000 : 301ms
P521/AES256GCMN issue * 10000 : 147ms
P521/AES256GCMN parse * 10000 : 296ms
```