public class SHA1 extends Object
| Constructor and Description |
|---|
SHA1() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getSHA1(String token,
String timestamp,
String nonce,
String encrypt)
用SHA1算法生成安全签名
|
public static String getSHA1(String token, String timestamp, String nonce, String encrypt) throws AesException
token - 票据timestamp - 时间戳nonce - 随机字符串encrypt - 密文AesExceptionCopyright © 2012–2020 Wudao Software Studio. All rights reserved.