Java tutorial
//package com.java2s; public class Main { public static final boolean isSameMd5(String md51, String md52) { return md51 == null && md52 == null ? true : (md51 != null && md52 != null ? md51.toLowerCase().compareTo(md52.toLowerCase()) == 0 : false); } }