ciphertextAsBytes property

List<int> get ciphertextAsBytes

Implementation

core.List<core.int> get ciphertextAsBytes =>
    convert.base64.decode(ciphertext!);
set ciphertextAsBytes (List<int> bytes_)

Implementation

set ciphertextAsBytes(core.List<core.int> bytes_) {
  ciphertext = convert.base64
      .encode(bytes_)
      .replaceAll('/', '_')
      .replaceAll('+', '-');
}