Documentation
¶
Index ¶
Constants ¶
Variables ¶
View Source
var (
Magic = slice.Bytes(MagicString)
)
Functions ¶
This section is empty.
Types ¶
type OnionSkin ¶
type OnionSkin struct { nonce.ID NBytes uint64 // Ciphers is a set of 3 symmetric ciphers that are to be used in their // given order over the reply message from the service. Ciphers [3]sha256.Hash // Nonces are the nonces to use with the cipher when creating the // encryption for the reply message. Nonces [3]nonce.IV types.Onion }
OnionSkin purchase is a message that requests a session key, which will activate when a payment for it has been done, or it will time out after some period to allow unused codes to be flushed.
Click to show internal directories.
Click to hide internal directories.