public interface EncryptionService
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String data)
Set of complementary methods
encrypt(String) and decrypt(String) provide means
to obfuscate sensitive data. |
String |
encrypt(String data)
Set of complementary methods
encrypt(String) and decrypt(String) provide means
to obfuscate sensitive data. |
String |
hashPassword(String password)
Provides a hash for the given password.
|
@NotNull String encrypt(@Nullable String data) throws EncryptionException
encrypt(String) and decrypt(String) provide means
to obfuscate sensitive data.data - string to be encryptedEncryptionException - when encryption failed@NotNull String decrypt(@Nullable String data) throws EncryptionException
encrypt(String) and decrypt(String) provide means
to obfuscate sensitive data.data - string to be decryptedEncryptionException - when decryption failed@NotNull String hashPassword(@NotNull String password) throws EncryptionException
PasswordService#encrypt method which is probably unused at the moment.password - The unencrypted password.EncryptionException - Failed to encrypt the passwordCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.