The functions to calculate file checksums and package verification codes have been removed during the refactoring for v0.8.
However, I found out that they are indeed being used, for example by scancode.
To allow libraries to upgrade, we should add back this functionality.