DAT - Distributed Access Token
Document
support signature algorithm
| name |
algorithm |
| P256 |
secp256r1 |
| P384 |
secp384r1 |
| P521 |
secp521r1 |
support crypto algorithm
| name |
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
Testing started ...
Finished `release` profile [optimized] target(s) in 0.03s
Running tests/bench_test.rs (target/release/deps/bench_test-37cecada5d3307da)
performance test (plain, secure)
plain: yQAdIqWIeklZj5nj34zqmzCKVeF8pKTAtZ4tVgyjQKHhtof8ynK7PucpOX92onIADvobs2v7EaoGxlIH8vtAHPVu8v1NNlZSCLYH
secure: yd70gbVWd6b6WysSEXG5DzfXoRJ5USKA3l0fHfo5kOgbG3gRzinXrb8wkXhGLReP0vzuUwdf0tuvkie0aPQexM8BXUxLEPFKPDsI
Multi-Thread
P256 AES128GCMN Issue * 10000 : 25ms
P256 AES128GCMN Parse * 10000 : 49ms
P256 AES256GCMN Issue * 10000 : 23ms
P256 AES256GCMN Parse * 10000 : 46ms
P384 AES128GCMN Issue * 10000 : 79ms
P384 AES128GCMN Parse * 10000 : 202ms
P384 AES256GCMN Issue * 10000 : 89ms
P384 AES256GCMN Parse * 10000 : 201ms
P521 AES128GCMN Issue * 10000 : 157ms
P521 AES128GCMN Parse * 10000 : 344ms
P521 AES256GCMN Issue * 10000 : 149ms
P521 AES256GCMN Parse * 10000 : 295ms
Single-Thread
P256 AES128GCMN Issue * 10000 : 128ms
P256 AES128GCMN Parse * 10000 : 288ms
P256 AES256GCMN Issue * 10000 : 127ms
P256 AES256GCMN Parse * 10000 : 283ms
P384 AES128GCMN Issue * 10000 : 472ms
P384 AES128GCMN Parse * 10000 : 1063ms
P384 AES256GCMN Issue * 10000 : 471ms
P384 AES256GCMN Parse * 10000 : 1054ms
P521 AES128GCMN Issue * 10000 : 835ms
P521 AES128GCMN Parse * 10000 : 1645ms
P521 AES256GCMN Issue * 10000 : 827ms
P521 AES256GCMN Parse * 10000 : 1644ms