public class CryptoUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CryptoUtil.HashAlogrithmn |
| Constructor and Description |
|---|
CryptoUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
compute(byte[] key,
String url) |
static String |
compute(byte[] key,
String url,
CryptoUtil.HashAlogrithmn algorithmn) |
static boolean |
valid(byte[] key,
String url,
String hash) |
static boolean |
valid(byte[] key,
String url,
String hash,
CryptoUtil.HashAlogrithmn algorithmn) |
public static String compute(byte[] key, String url) throws NoSuchAlgorithmException, InvalidKeyException, IllegalStateException, UnsupportedEncodingException
public static String compute(byte[] key, String url, CryptoUtil.HashAlogrithmn algorithmn) throws NoSuchAlgorithmException, InvalidKeyException, IllegalStateException, UnsupportedEncodingException
public static boolean valid(byte[] key,
String url,
String hash)
throws GeneralSecurityException,
UnsupportedEncodingException
public static boolean valid(byte[] key,
String url,
String hash,
CryptoUtil.HashAlogrithmn algorithmn)
throws GeneralSecurityException,
UnsupportedEncodingException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.