HOW TO GET BACK THE PHOTOS DELETED FROM FILES BY GOOGLE, EXACTLY FROM ENCRYPTED FILE.
Some time ago, I hid some screenshots in the secure folder in Files by Google. Later when I opened it, I couldn't find them. I didn't even delete any of those photos.Maybe someone else deleted them since I'm not the only one who knew how to open that file with code.
Unfortunately, when a file from the Safe Folder is deleted, it is deleted permanently. If the file(s) got moved out of the safe folder before being deleted, they may still be in the trash for 30 days. You can access the Trash through the ☰ menu in the top left corner.
You can back up content, data, and settings from your phone to your Google Account. You can restore your backed-up information to the original phone or to some other Android phones.
Restoring data varies by phone and Android version. You can't restore a backup from a higher Android version onto a phone running a lower Android version.
For complete information check this official help center article.