Skip to content
Sur cette page

decryptFileAsync

suspend fun decryptFileAsync(encryptedFile: ByteArray): ClearFile

Decrypts an encrypted file into the corresponding clear-text file.

Return

A ClearFile instance, containing the filename and the fileContent of the decrypted file.

Parameters

encryptedFileA ByteArray of the content of the encrypted file to decrypt.

Throws

Exception