clkhash-0.9.0
توضیحات
Encoding utility to create Cryptographic Linkage Keys
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | clkhash-0.9.0 |
| نام | clkhash |
| نسخه کتابخانه | 0.9.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Brian Thorne |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/data61/clkhash |
| آدرس اینترنتی | https://pypi.org/project/clkhash/ |
| مجوز | Apache |
# CLK Hash
<p align="center">
<img alt="Clkhash Logo" src="./docs/_static/logo.svg" width="250" />
</p>
<div align="center">
[](https://codecov.io/gh/data61/clkhash)
[](http://clkhash.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/data61/clkhash/actions/workflows/unittests.yml)
[](https://github.com/data61/clkhash/actions/workflows/typechecking.yml)
[](https://pepy.tech/project/clkhash)
</div>
**clkhash** is a Python implementation of cryptographic linkage key hashing as described by _Rainer Schnell, Tobias Bachteler, and Jörg Reiher_ in
[A Novel Error-Tolerant Anonymous Linking Code](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3549247).
## Installation
Install clkhash with all dependencies using pip:
pip install clkhash
## Documentation
[https://clkhash.readthedocs.io](https://clkhash.readthedocs.io/en/latest/)
## Python API
To hash a CSV file of entities using the default schema:
```python
from clkhash import clk, randomnames
fake_pii_schema = randomnames.NameList.SCHEMA
clks = clk.generate_clk_from_csv(open('fake-pii-out.csv','r'), 'secret', fake_pii_schema)
```
## Command Line Interface
See [Anonlink Client](https://github.com/data61/anonlink-client) for a command line interface to clkhash.
## Citing
Clkhash, and the wider Anonlink project is designed, developed and supported by
[CSIRO's Data61](https://www.data61.csiro.au). If you use any part of this library in your research, please
cite it using the following BibTex entry::
@misc{Anonlink,
author = {CSIRO's Data61},
title = {Anonlink Private Record Linkage System},
year = {2017},
publisher = {GitHub},
journal = {GitHub Repository},
howpublished = {\url{https://github.com/data61/clkhash}},
}
نیازمندی
| مقدار | نام |
|---|---|
| >=2.6.0,<3.0.0 | bitarray |
| >=40.0.2,<41.0.0 | cryptography |
| >=4.16.0,<5.0.0 | jsonschema |
| >=0.4.3,<0.5.0 | mypy_extensions |
| >=1.1.2,<2.0.0 | pyblake2 |
| >=4.64.1,<5.0.0 | tqdm |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl clkhash-0.9.0:
pip install clkhash-0.9.0.whl
نصب پکیج tar.gz clkhash-0.9.0:
pip install clkhash-0.9.0.tar.gz