Skip to main content

Module transport_state

Module transport_state 

Source

Structsยง

Payload ๐Ÿ”’
A newtype for a plaintext payload carried inside the encrypted noise tunnel.
PersistentTransportState ๐Ÿ”’
SymmetricKey ๐Ÿ”’
A newtype for symmetric keys used in noise. A noise key is always 256-bits.
TransportFrame ๐Ÿ”’
Wire format โ€” always encrypted with current symmetric keys.

Enumsยง

ReceiveError ๐Ÿ”’
TransportCipher ๐Ÿ”’
Supported ciphers for the transport mode of noise.

Constantsยง

KEY_SIZE ๐Ÿ”’

Functionsยง

current_epoch_secs ๐Ÿ”’
Returns the current time as seconds since the Unix epoch.
get_cipher_with_key ๐Ÿ”’