[Cryptography] Is ASN.1 still the thing?
David Wong
davidwong.crypto at gmail.com
Mon Nov 13 09:20:58 EST 2017
It depends on your use case, JSON is a textual and ambiguous data
formatting structure, while ASN.1 with DER is a binary and unambiguous
data formatting structure. Meaning it is faster and if security relies
on it you will have "less" troubles.
If you want something fast (binary), but don't want the awfulness of
ASN.1 I believe google's protobuf is the state of the art solution. Or
better, you can have a fixed structure (with fixed sized fields) and I
believe this is what Wireguard does.
David
More information about the cryptography
mailing list