(s)
| 216 | helloProtocol: { |
| 217 | random: { |
| 218 | parse(s) { |
| 219 | let t = s.readChars(4); |
| 220 | return { |
| 221 | qmt_unix_time: t, |
| 222 | random_bytes: s.readChunk(28) |
| 223 | }; |
| 224 | }, |
| 225 | serialize() { |
| 226 | let qmt_unix_time = ((new Date()).getTime() / 1000) | 0; // in sec |
| 227 | let a = new Uint8Array(RNG.get(32)); |
no test coverage detected