public class CoreSecurityUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
cypherAlgo |
static String |
DEFAULT_PASSPHRASE |
String |
digestAlgo |
static String |
ENV_KEY_PASSPHRASE |
static CoreSecurityUtils |
INSTANCE |
| Constructor and Description |
|---|
CoreSecurityUtils() |
| Modifier and Type | Method and Description |
|---|---|
char[] |
defaultDecryptChars(char[] data,
String passphrase) |
char[] |
defaultEncryptChars(char[] data,
String passphrase) |
char[] |
defaultHashChars(char[] data,
String passphrase) |
CoreSecurityUtils |
detectBestAlgo() |
public static final String ENV_KEY_PASSPHRASE
public static final String DEFAULT_PASSPHRASE
public String cypherAlgo
public String digestAlgo
public static final CoreSecurityUtils INSTANCE
public CoreSecurityUtils detectBestAlgo()
public char[] defaultDecryptChars(char[] data,
String passphrase)
public char[] defaultEncryptChars(char[] data,
String passphrase)
public char[] defaultHashChars(char[] data,
String passphrase)
Copyright © 2025 vpc open source initiative. All rights reserved.