lizijie
2019-07-03 9eee07eb60fac7b8d13b4521fc9ef7019d4a60f5
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));
    }
}