/** * Create a Checksum that describes the supplied data. * @param data The data with which to calculate the checksum. * @return A Checksum of the supplied data using this algorithm. */ public Checksum calculate(byte[] data) { return new Checksum(this, createMessageDigest().digest(data)); }