Compute checksums based on byte[], close #1595