encrypt method

Future<EncryptedFile> encrypt()

Encrypts this file and returns the encryption information as an EncryptedFile.

Implementation

Future<EncryptedFile> encrypt() async {
  return await encryptFile(bytes);
}