package
0.0.0-20241028134216-7bf8b198479d
Repository: https://github.com/karalef/quark.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ChainCloser chains the wc to c.
Encapsulate generates and encapsulates a shared secret and creates an authenticated stream cipher.
New creates a new message.
NopCloser is analog of io.NopCloser but for io.Writer.
Password uses password-based symmetric encryption to create an authenticated stream cipher.
WithCompression enables message compression.
WithEncryption enables encryption based on key encapsulation mechanism.
WithFileInfo sets the file info.
WithPassword sets password-based authenticated encryption scheme.
WithSignature enables message signature.

# Constants

PacketTagMessage is a message packet tag.

# Structs

Auth provides authentication and data integrity.
Compression represents compression algorithm.
Decrypt contains the parameters to decrypt the message.
Encryption contains encapsulated shared secret with symmetric encryption parameters.
FileInfo contains the file info.
Header contains the signature information and encryption parameters.
Message contains a message.

# Type aliases

Opt is a message option.