2 ms·
could it use a HTTPHeader style system instead to avoid the json serializing back and forth?
by mouldysammich 7y ago
could it use a HTTPHeader style system instead to avoid the json serializing back and forth?
- Vendan 7y agoJust serialize, sign, pack the signature and the raw bytes of the serialization. Doesn't matter how, just gotta pack the raw bytes, not futz with it
- monocasa 7y agoYou can even have a JSON object containing base64 fields for message and signature if you feel it really needs to be JSON all the way down for whatever reason.