摘要: 一:首先建一个加密类ApiSecuritySHA import java.nio.charset.StandardCharsets; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import org.apache. 阅读全文
posted @ 2021-09-01 17:33 姚春辉 阅读(330) 评论(0) 推荐(0) 编辑
摘要: import org.apache.commons.codec.DecoderException; import org.apache.commons.codec.binary.Hex; import org.apache.commons.codec.digest.HmacAlgorithms; i 阅读全文
posted @ 2021-09-01 17:23 姚春辉 阅读(438) 评论(0) 推荐(0) 编辑