is it possible to enable/install File-Based Encryption in Fedora like in Android File-Based Encryption | Android Open Source Project
The document you linked says it is using ext4 encryption. It looks like ext4 encryption is enabled on Fedora Linux.
$ grep CONFIG_FS_ENCRYPTION /usr/lib/modules/6.2.10-200.fc37.x86_64/config CONFIG_FS_ENCRYPTION=y CONFIG_FS_ENCRYPTION_ALGS=y CONFIG_FS_ENCRYPTION_INLINE_CRYPT=y
I’ve never used it. But it looks like it should be possible if you know how. Personally, I use zfs for encryption. Most Fedora Linux users will probably want to wait for Btrfs to support encryption.
how can i configure it (with Brfs)
It’s still in development. You’ll have to wait until they finish the code.