Package org.trustdeck.algorithms
Class PseudonymizationFactory
java.lang.Object
org.trustdeck.algorithms.PseudonymizationFactory
This is a factory class for creating a pseudonymizer based on the desired algorithm.
- Author:
- Armin Müller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPseudonymizer(Algorithm algorithm) Method for automatically creating the correct pseudonymizer depending on the desired algorithm.getPseudonymizer(Domain domain) Method for automatically creating the correct pseudonymizer depending on the desired algorithm.
-
Constructor Details
-
PseudonymizationFactory
public PseudonymizationFactory()
-
-
Method Details
-
getPseudonymizer
Method for automatically creating the correct pseudonymizer depending on the desired algorithm.- Parameters:
algorithm- the algorithm with which the inputs should be pseudonymized- Returns:
- the pre-configured pseudonymizer so that the pseudonymization step itself is easier to accomplish
-
getPseudonymizer
Method for automatically creating the correct pseudonymizer depending on the desired algorithm.- Parameters:
domain- the domain under which the pseudonyms should be stored in- Returns:
- the pre-configured pseudonymizer so that the pseudonymization step itself is easier to accomplish
-