This post describes how #dm-crypt / #LUKS #container files can be mounted on #Android, completely with the standard command line open source tools. It is written for Android 10, but should also work on older versions. #Root permissions are required.
https://blog.ja-ke.tech/2020/04/04/android-luks2.html