Adding support for sha256 sums.

Signed-off-by: Rob Dobson <rob@rdobson.co.uk>