alnf / toxcore

The future of online communications.
https://tox.im
GNU General Public License v3.0
7 stars 0 forks source link

Reduce packets lenght #25

Closed alnf closed 9 years ago

alnf commented 9 years ago

Enc might be not necessary if we can somehow replace it with peernum. Nonce is not necessary (c) irun. Two keys in the header is too much.

alnf commented 9 years ago

@JFreegman I would discuss it in the very near future.

JFreegman commented 9 years ago

We could use a jenkins hash of the peer's PK for a (probably) unique peernumber. Same thing we do to identify group packets. That would reduce 128 bytes to 8 bytes.

alnf commented 9 years ago

Can we close the issue, @JFreegman?

JFreegman commented 9 years ago

we can