pwd

来源:互联网 发布:手机叠图软件 编辑:程序博客网 时间:2024/05/19 03:44

package zpxx;
import java.io.*;
public class pwd
{
 public String passwordjm(String strBh,String strPassword)   //密码加密
 {
  String strSql = "";
  String strBhjm = "";
  int pwd = 0;

  pwd=strBh.hashCode();     //编号
  pwd=pwd + strPassword.hashCode();   //密码

  pwd=pwd+2003;      //
  pwd=pwd * 2;
  strSql="" + pwd;
  return strSql;
 }
}

原创粉丝点击