public class EncryptionUtils extends Object
| Constructor and Description |
|---|
EncryptionUtils() |
EncryptionUtils(String value)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String strToDecrypt,
byte[] salt)
Decrypt the thing
|
String |
encrypt(String strToEncrypt,
byte[] salt)
Encrypt the thing
|
byte[] |
getSalt()
Get some salt
|
public EncryptionUtils()
public EncryptionUtils(String value)
value - the valuepublic String encrypt(String strToEncrypt, byte[] salt)
strToEncrypt - the string to encryptsalt - the saltpublic String decrypt(String strToDecrypt, byte[] salt)
strToDecrypt - salt - public byte[] getSalt()
Copyright © 2019–2020 personify. All rights reserved.