loadCiphertext method

  1. @override
Ciphertext loadCiphertext(
  1. Pointer<Uint8> data,
  2. int size
)
override

Validates a serialized ciphertext and returns it as a Ciphertext object.

This method overrides the loadCiphertext method in the Afhe class.

Implementation

@override
Ciphertext loadCiphertext(Pointer<Uint8> data, int size) {
  sealMagicNumber(data, size);
  return super.loadCiphertext(data, size);
}