Encryption of whole file stored in external flash memory.

Hi All, 

           I am using NRF52840 with an external SPI NOR flash connected to it. I am also mounting file system on the flash memory. Inside the flash I will be creating files (csv/txt ) format and store some raw data in it. We want to encrypt the data of the file. I am planning to use AES- CBC with padding. Instead of encrypting the data row by row, is it possible to encrypt whole file in a single shot??

Thanks & Regards,

Snehal 

Parents Reply Children
No Data
Related