Namespace Sensus.Anonymization.Anonymizers
Classes
Anonymizer
In-app anonymization is provided by applying various transformations to facets of the data that are generated. For example, numeric values can be rounded and textual data can be passed through one-way hash functions.
DateTimeOffsetTimelineAnonymizer
Anonymizes a date/time value by anchoring it to an arbitrary point in the past. The random anchor time is chosen from the first 1000 years AD, and the anonymized date/time values are calculated as intervals of time since the random anchor. Thus, the anonymized date/time values are only meaningful with respect to each other. Their absolute values will have no meaningful interpretation.
DoubleRoundingAnonymizer
Rounds numeric values to various levels of precision.
DoubleRoundingHundredsAnonymizer
Rounds numeric values to the hundreds place (e.g., 123 becomes 100).
DoubleRoundingHundredthsAnonymizer
Rounds numeric values to the hundredths place (e.g., 123.123 becomes 123.12).
DoubleRoundingOnesAnonymizer
Rounds numeric values to the ones place (e.g., 123.65 becomes 124).
DoubleRoundingTensAnonymizer
Rounds numeric values to the hundreds place (e.g., 123 becomes 120).
DoubleRoundingTenthsAnonymizer
Rounds numeric values to the hundreds place (e.g., 123.123 becomes 123.1).
DoubleRoundingThousandthsAnonymizer
Rounds numeric values to the hundreds place (e.g., 123.1235 becomes 123.124).
LongitudeOffsetGpsAnonymizer
Base class for anonymizers that operate by adding a random offset to the longitude of a GPS coordinate pair. Adding an offset to latitude is a generally bad idea because the distance between degrees of longitude vary tremendously across the latitudes.
LongitudeParticipantOffsetGpsAnonymizer
Anonymizer that operates by adding a random offset to the longitude of a GPS coordinate pair. The offset is chosen to be participant- specific. Thus, the resulting coordinates are only meaningful relative to other coordinates within a single participant's data set. They have no meaning in absolute terms, and they have no meaning relative to other participants' data.
LongitudeStudyOffsetGpsAnonymizer
Anonymizer that operates by adding a random offset to the longitude of a GPS coordinate pair. The offset is chosen to be study-specific. Thus, the resulting coordinates are only meaningful relative to other coordinates within a single study. They have no meaning in absolute terms, and they have no meaning relative to data from other studies.
StringHashAnonymizer
Computes a cryptographic, one-way has of a textual string.
ValueOmittingAnonymizer
Omits the data field altogether, resulting in a Datum that does not contain the field.