encode method
The plaintext bytes; the caller wipes them after use.
Implementation
Uint8List encode() => Uint8List.fromList(
utf8.encode(
jsonEncode({
'v': 1,
'compositeKey': base64.encode(compositeKey),
'outerKey': ?outerKey,
}),
),
);