|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EncryptionService
Method Summary | |
---|---|
java.lang.String |
decrypt(java.lang.String data)
Set of complementary methods encrypt(String) and decrypt(String) provide means
to obfuscate sensitive data. |
java.lang.String |
encrypt(java.lang.String data)
Set of complementary methods encrypt(String) and decrypt(String) provide means
to obfuscate sensitive data. |
java.lang.String |
hashPassword(java.lang.String password)
Provides a hash for the given password. |
Method Detail |
---|
@NotNull java.lang.String encrypt(@Nullable java.lang.String data) throws EncryptionException
encrypt(String)
and decrypt(String)
provide means
to obfuscate sensitive data.
data
- string to be encrypted
EncryptionException
- when encryption failed@NotNull java.lang.String decrypt(@Nullable java.lang.String data) throws EncryptionException
encrypt(String)
and decrypt(String)
provide means
to obfuscate sensitive data.
data
- string to be decrypted
EncryptionException
- when decryption failed@NotNull java.lang.String hashPassword(@NotNull java.lang.String password) throws EncryptionException
PasswordService#encrypt
method which is probably unused at the moment.
password
- The unencrypted password.
EncryptionException
- Failed to encrypt the password
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |