
fdroidserver has always written "sha256" to the index.xml file, so client should use the same. The Java hashers will correctly respond to both "sha256" and "SHA-256", and the only place that the hashType is read from the DB and used is in the swap repo index.xml generation, where it should also use "sha256".