29 ms·
Just 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
by Vendan 6y ago
Just 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 6y 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.