WcV1Payload class
WalletConnect v1 transport crypto.
Scheme: AES-256-CBC (PKCS7) for the payload, HMAC-SHA256 over
ciphertext || iv (that order) using the same 32-byte key. The wire payload
is {data: hex(ciphertext), hmac: hex(mac), iv: hex(iv)}.
WC v1 is a dead protocol (public bridges offline since 2023); this is provided for legacy/self-hosted interop. Matches walletconnect_dart's cipher fixtures.
Constructors
- WcV1Payload({required String data, required String hmac, required String iv})
-
const
-
WcV1Payload.fromJson(Map<
String, dynamic> j) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, String> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited