public class HMAC extends Object
public static byte[] hmacSHA256(byte[] key,
byte[] content)
throws LeonaRuntimeException
key - 签名秘钥content - 内容LeonaRuntimeException - 签名错误public static String encode(byte[] src)
src - 待编码的数据Copyright © 2020. All rights reserved.