Package be.personify.util.io
Class EncryptionUtils
java.lang.Object
be.personify.util.io.EncryptionUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EncryptionUtils
public EncryptionUtils() -
EncryptionUtils
Constructor- Parameters:
value- the value
-
-
Method Details
-
encrypt
Encrypt the thing- Parameters:
strToEncrypt- the string to encryptsalt- the salt- Returns:
- the encrypted string
-
decrypt
Decrypt the thing- Parameters:
strToDecrypt- the string to decryptsalt- the salt- Returns:
- the decrypted string
-
getSalt
public byte[] getSalt()Get some salt- Returns:
- the salty salt
-