You can get a sha256 hash of a file by using @Juan Antonio's Terminal extension.
sha256sum /absolute/path/to/file
Tested using companion 2.62u on Android 12 device.
If this is what you want, I have made an extension:
uk.co.metricrat.getfilesha256.aix (5.3 KB)
now added sha512 as well
uk.co.metricrat.getfilesha256V0.2.aix (5.4 KB)