Previous: , Up: Packet format   [Index]


Encrypted area packet

Multicast areas area messages contains the encrypted packet, that is completely similar and have the same format as an ordinary encrypted packet. But instead of the node’s identity, area’s identity is used as a recipient.

For example when nodeA sends multicast packet with file transmission and nodeB is the area’s subscriber, then nodeA has an encrypted packet to the nodeB in the outgoing spool directory:

ENCRYPTED PACKET (sender=nodeA, recipient=nodeB) WRAPS
  PLAIN PACKET (type=area, path=AREA ID) WRAPS
    ENCRYPTED PACKET (sender=nodeA, recipient=AREA) WRAPS  <-- MsgHash
      PLAIN PACKET (type=file, path=FILENAME) WRAPS
        FILE CONTENTS

Area’s message identity is the BLAKE2b-256 hash of header of the area’s packet encrypted packet.