于紫祥_1901
2020-10-27 2b3c06ae70b16b83063158d092094619579a4d7b
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));
    }
}