cn.gtmap.estateplat.utils
类 RSAEncryptUtil

java.lang.Object
  继承者 cn.gtmap.estateplat.utils.RSAEncryptUtil

public class RSAEncryptUtil
extends Object

版本:
1.0, 2017/8/25
作者:
hqz

构造方法摘要
RSAEncryptUtil()
           
 
方法摘要
static String encryptStr(String modulusStr, String exponentStr, String strMsg)
          根据公钥、摸、用户名请求日期进行加密
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

RSAEncryptUtil

public RSAEncryptUtil()
方法详细信息

encryptStr

public static String encryptStr(String modulusStr,
                                String exponentStr,
                                String strMsg)
根据公钥、摸、用户名请求日期进行加密

参数:
modulusStr - 模数
exponentStr - 指数
strMsg - 待加密的字串
返回:
加密后的字符串


Copyright © 2015–2018 cn.gtmap. All rights reserved.