Package | Description |
---|---|
cn.orionsec.kit.lang.utils.crypto | |
cn.orionsec.kit.lang.utils.crypto.enums |
Modifier and Type | Method and Description |
---|---|
static String |
Signatures.hmacHashSign(byte[] bs,
byte[] key,
SecretKeySpecMode mode)
mac + hash签名
|
static String |
Signatures.hmacSign(byte[] bs,
byte[] key,
SecretKeySpecMode mode)
hmac + hash签名
|
static String |
Signatures.hmacSign(String s,
String key,
SecretKeySpecMode mode)
hmac + hash签名
|
Modifier and Type | Method and Description |
---|---|
static SecretKeySpecMode |
SecretKeySpecMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecretKeySpecMode[] |
SecretKeySpecMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2024. All rights reserved.