]> Cypherpunks.ru repositories - nncp.git/blob - doc/pkt/area.texi
Add various documentation indices
[nncp.git] / doc / pkt / area.texi
1 @node Encrypted area
2 @cindex encrypted area packet
3 @section Encrypted area packet
4
5 @ref{Multicast} area messages contains the encrypted packet, that is
6 completely similar and have the same format as an ordinary
7 @ref{Encrypted, encrypted packet}. But instead of the node's identity,
8 area's identity is used as a recipient.
9
10 For example when @code{nodeA} sends multicast packet with file
11 transmission and @code{nodeB} is the area's subscriber, then
12 @code{nodeA} has an encrypted packet to the @code{nodeB} in the outgoing
13 spool directory:
14
15 @verbatim
16 ENCRYPTED PACKET (sender=nodeA, recipient=nodeB) WRAPS
17   PLAIN PACKET (type=area, path=AREA ID) WRAPS
18     ENCRYPTED PACKET (sender=nodeA, recipient=AREA) WRAPS  <-- MsgHash
19       PLAIN PACKET (type=file, path=FILENAME) WRAPS
20         FILE CONTENTS
21 @end verbatim
22
23 Area's message identity is the BLAKE2b-256 hash of header of the area's
24 packet encrypted packet.