xufenglei
2019-02-13 1bd6a5e7678477f5b1fab449c6d618aae9041611
src/main/java/com/moral/common/util/Crypto.java
@@ -29,4 +29,8 @@
        }
        return newstr;
    }
    public static boolean checkpw(String plaintext, String hashed){
            hashed = hashed == null?"":hashed;
            return  hashed.equals(md5(plaintext));
    }
}