Cosmian Cloudproof Anonymization library
Project description
Data Anonymization
Data anonymization
is the process of transforming data in such a way that it can no longer be used to identify individuals without the use of additional information. This is often done to protect the privacy of individuals whose data is being collected or processed.
Anonymization techniques can include removing identifying information such as names and addresses, replacing identifying information with pseudonyms, and aggregating data so that individual data points cannot be distinguished. It's important to note that while anonymization can reduce the risk of re-identification, it is not foolproof and must be used in conjunction with other security measures to fully protect personal data.
Features
Cosmian anonymization provides multiple methods:
-
Hashing: transforms data into a fixed-length representation that is difficult to reverse and provides a high level of anonymity. Use
anonymization::Hasher
to apply the various hash functions. -
Noise Addition: adds random noise to data in order to preserve privacy. Use
anonymization::NoiseGenerator
to apply various types of noise distributions tofloat
,integer
, anddate
. -
Word Masking: hides sensitive words in a text. Use
anonymization::WordMasker
to mask a list of words. -
Word Tokenization: removes sensitive words from text by replacing them with tokens. Use
anonymization::WordTokenizer
to replace a list of words. -
Word Pattern Masking: replaces a sensitive pattern in text with specific characters or strings. Use
anonymization::WordPatternMasker
to replace specified pattern regex with a replacement string. -
Number Aggregation: rounds numbers to a desired power of ten. This method is used to reduce the granularity of data and prevent re-identification of individuals. Use
anonymization::NumberAggregator
to roundfloat
andint
values. -
Date Aggregation: rounds dates based on the specified time unit. This helps to preserve the general time frame of the original data while removing specific details that could potentially identify individuals. Use
anonymization::DateAggregator
to rounddate
. -
Number Scaling: scales numerical data by a specified factor. This can be useful for anonymizing data while preserving its relative proportions. Use
anonymization::NumberScaler
to roundfloat
andint
values.
Date Format
WARNING: The anonymization functions date input is in RFC3339 string format which is slightly different from ISO format.
ISO format | RFC 3339 |
---|---|
2023-04-07T12:34:56 | 2023-04-07T12:34:56Z |
2023-04-27T16:23:00+00:00 | 2023-04-27T16:23:00+00:00 |
2023-04-27T16:23:00+05:00 | 2023-04-27T16:23:00+05:00 |
2023-04-27T16:23:00-05:00 | 2023-04-27T16:23:00-05:00 |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for cloudproof_anonymization-0.1.0-cp37-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 964a75fe946a5e9975aa7e35097ca1c2506a21f5cf41a54c615e999b8e2a755a |
|
MD5 | d6f6f8e945d700f875cde2c24cc55a3e |
|
BLAKE2b-256 | 8758c6cebb7554c94d329cc9251c6d3a4a2dc2729fb0fdceacf52b802e15551a |
Hashes for cloudproof_anonymization-0.1.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 051cd1964c13330c31d1a6daccdd851b7b11faaf03954d830c5d21e722feadf2 |
|
MD5 | cc026d6b26b742a6b23c01e5d0b4f7c9 |
|
BLAKE2b-256 | 9e7357c2a3ebdd5deaf924165e57cac599d56767bd2322d1f7da90ba4d5174f8 |
Hashes for cloudproof_anonymization-0.1.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8804b71ddac9b4f2661b8df303c5e10b554f2576fc68fee732dc829c6909da0 |
|
MD5 | ecee68ab62822db5b276faa77892542d |
|
BLAKE2b-256 | 5512848c184aac423554d82313419a42878bc8490e1a0f49ab2a2867e2c33cd5 |