-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark Encryption service as functional and update documentation
- Loading branch information
1 parent
2bf4b6f
commit 36176de
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/main/java/io/github/rabobank/shadow_tool/EncryptionService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
package io.github.rabobank.shadow_tool; | ||
|
||
@FunctionalInterface | ||
interface EncryptionService { | ||
/** | ||
* Encrypts the given data for logging. | ||
* *Note* The result of this is directly logged and should | ||
* therefore be in a printable format which meets the minimum encryption requirements of | ||
* the specific data. | ||
* | ||
* @param value the data to encrypt | ||
* @return encrypted data | ||
*/ | ||
String encrypt(final String value); | ||
} |