摘要: 1 /** 2 * 使用 HMAC-SHA1 签名方法对对encryptText进行签名 3 * 4 * @param encryptText 被签名的字符串 5 * @param encryptKey 密钥 6 * @return 返回签名后的Base64串 7 * @throws Excepti 阅读全文
posted @ 2022-02-17 09:41 勤快的懒羊羊 阅读(271) 评论(0) 推荐(0) 编辑
摘要: Base64URLSafeString 1 /** 2 * 将内容进行Base64加密 3 * 4 * @param content 5 * @return 6 * @throws UnsupportedEncodingException 7 */ 8 public static String Ba 阅读全文
posted @ 2022-02-17 09:38 勤快的懒羊羊 阅读(774) 评论(0) 推荐(0) 编辑