Skip to content

Commit

Permalink
Mark Encryption service as functional and update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley Meintjes authored and martinvisser committed Jul 5, 2023
1 parent 2bf4b6f commit 36176de
Showing 1 changed file with 10 additions and 0 deletions.
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);
}

0 comments on commit 36176de

Please sign in to comment.