class FileChecksumSHA256Service {

	public boolean hasCorrectChecksum(String checkSum, String filepath) {
		if (checkSum==null) {
			return false;// null is never correct...
		}
		if (filepath==null) {
			return false;
		}
		String calculated = createChecksum(filepath);
		return calculated.equals(checkSum);
	}

}