The basic unit of the Fractus protocol is the "Fractus Packet," which consists of:
- The length of the data following as a four byte NBO integer
- A FractusMessage, encrypted unless it''s a public key message (for ECDH purposes)
The Fractus Message consists of:
- A two byte NBO short descriptor, which indicates its type (like "Instant Message" or "Add Friend Request")
- A serialized Protocol Buffer Message (created by Google''s protoc-generated Java code.)
No comments:
Post a Comment