trussed-dev / trussed-auth

Authentication extension and backend for Trussed
1 stars 3 forks source link

Use efficient byte representation #11

Closed sosthene-nitrokey closed 1 year ago

sosthene-nitrokey commented 1 year ago

[u8; N] is by default not serialized efficiently and is instead serialized as a standard CBOR array and not a byte string.

We'd need to use something like serde-bytes to improve efficiency.