public class FddCryptUtil extends Object
static byte[]
hmac256(byte[] key, String msg)
static String
sha256Hex(String s)
sign(String sortParam, String timestamp, String appSecret)
sortParameters(Map<String,String> parameters)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static byte[] hmac256(byte[] key, String msg) throws Exception
Exception
public static String sha256Hex(String s) throws Exception
public static String sign(String sortParam, String timestamp, String appSecret) throws Exception
sortParam
timestamp
appSecret
public static String sortParameters(Map<String,String> parameters)
Copyright © 2025. All rights reserved.