public class EncryptionUtils extends Object
Modifier and Type | Field and Description |
---|---|
static org.jasypt.encryption.pbe.PooledPBEByteEncryptor |
binaryEncryptor |
static org.slf4j.Logger |
LOG |
static org.jasypt.encryption.pbe.PooledPBEStringEncryptor |
stringEncryptor |
Constructor and Description |
---|
EncryptionUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkSaltedHash(String clearTextValue,
String hashedValue) |
static byte[] |
decrypt(byte[] value,
byte[] defaultValue) |
static String |
decrypt(String value) |
static Integer |
decrypt(String value,
int defaultValue) |
static byte[] |
encrypt(byte[] value) |
static String |
encrypt(Integer value) |
static String |
encrypt(String value) |
static org.jasypt.encryption.pbe.PooledPBEByteEncryptor |
getBinaryEncryptor() |
static org.jasypt.encryption.pbe.PooledPBEStringEncryptor |
getStringEncryptor() |
static String |
saltedHash(String clearTextValue) |
public static final org.slf4j.Logger LOG
public static org.jasypt.encryption.pbe.PooledPBEStringEncryptor stringEncryptor
public static org.jasypt.encryption.pbe.PooledPBEByteEncryptor binaryEncryptor
public static byte[] encrypt(byte[] value)
public static byte[] decrypt(byte[] value, byte[] defaultValue)
public static org.jasypt.encryption.pbe.PooledPBEStringEncryptor getStringEncryptor()
public static org.jasypt.encryption.pbe.PooledPBEByteEncryptor getBinaryEncryptor()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.