Is try to create an encrypted ZIP file which is compatible with the TrueZIP java library.
I tried 7z
7za -tzip -mem=AES256 a out.myzip -pFoo in.file
but when decrypting in TrueZIP I get the exception:
W/System.err: de.schlichtherle.truezip.io.InputException:
java.util.zip.ZipException: in.file (encrypted compression method 8
is not supported)