package Test1;

import java.util.Scanner;

public class testMain {  
    public static void main(String[] args) {  
        String pwd1="lqw123456hgfjdh7890lqw";  
        String pwd2="";  
        System.out.println("未加密的密码:"+pwd1);  
        System.out.println("请输入你的密码:");
        Scanner input=new Scanner(System.in);
        String pwd3=input.next();
        pwd2 = testMD5.getMd5String(pwd1);  
        System.out.println("加密后的密码:"+pwd2);  
        System.out.print("验证密码是否正确:");  
        if(testMD5.JudgePassword(pwd2, pwd3)) {  
            System.out.println("正确");  
        }  
        else {  
            System.out.println("错误");  
        }  
    }  
}  
最近下载更多
gao8970206  LV2 2023年12月20日
wanglinddad  LV54 2022年10月25日
zw050256  LV7 2022年9月30日
ljpljpljp  LV2 2022年4月19日
gshnlj  LV15 2022年4月16日
许文欣  LV2 2022年3月26日
hejium 2021年7月12日
暂无贡献等级
tingqiao  LV1 2021年7月5日
wydpopwyd  LV11 2020年11月24日
Kervin  LV11 2020年9月29日
最近浏览更多
syd1988  LV7 3月14日
gao8970206  LV2 2023年12月20日
except I  LV2 2023年11月5日
pfilwy  LV1 2023年2月18日
wanglinddad  LV54 2022年10月25日
hui1992 2022年10月18日
暂无贡献等级
zw050256  LV7 2022年9月30日
myh7719  LV2 2022年6月13日
wapslnmsl  LV1 2022年4月28日
ljpljpljp  LV2 2022年4月19日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友