NoiseMessage class

Handles basic message framing for Noise protocol messages

Constructors

NoiseMessage.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

extractEncryptedPayload(Uint8List message) Uint8List?
Extracts the encrypted payload from a message, if present
extractMAC(Uint8List message) Uint8List
Extracts the MAC from a message
validateMessageWithMAC(Uint8List message) → void
Validates that a message contains enough bytes for a MAC

Constants

MAC_LENGTH → const int