MessageEncorder class

Constructors

MessageEncorder(KeyPair keyPair)

Properties

hashCode → int
The hash code for this object.
no setterinherited
keyPair ↔ KeyPair
getter/setter pair
publicKey → PublicKey
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode(PublicKey recipientPublicKey, Uint8List message) → Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
tryDecode(PublicKey recipientPublicKey, Uint8List encodedMessage) → Map<String, dynamic>
tryDecodeDeprecated(PublicKey recipientPublicKey, Uint8List encodedMessage) → Map<String, dynamic>

Operators

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

Static Methods

toPlainMessage(String message) → Uint8List