make an encrypted file programatically

 

Hello i was wondering if its possible to have the EA make an encrypted file to store some side data and then read data from that file whenever necessary

i know that we can create csv/text files and then read the data later on , but i want that file to be non readable by the user and only be readable by the EA 

 
Check CryptEncode() especially AES