Metadata-Version: 2.4
Name: dpqc
Version: 0.0.1
Summary: DPQC - Developer's PQC (Post-Quantum Cryptography) Library
Home-page: https://github.com/QudsLab/dpqc
Author: QudsLab
Author-email: QudsLab <QudsLab@proton.me>
License: MIT License
        
        Copyright (c) 2025 QudsLab
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/QudsLab/dpqc
Project-URL: Repository, https://github.com/QudsLab/dpqc
Project-URL: Issues, https://github.com/QudsLab/dpqc/issues
Keywords: post-quantum,cryptography,pqc,quantum-safe,ml-kem,ml-dsa,falcon
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Security :: Cryptography
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: termcolor>=1.1.0
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# dpqc

**DPQC**: Developer's Post-Quantum Cryptography Library

[![PyPI version](https://badge.fury.io/py/dpqc.svg)](https://pypi.org/project/dpqc/)
[![GitHub](https://img.shields.io/github/license/QudsLab/dpqc)](https://github.com/QudsLab/dpqc)

## Install

```bash
pip install dpqc
```

## Quick Start

```python
from dpqc import MLKEM512, MLDSA44

# Example: Key Encapsulation (KEM)
kem = MLKEM512()
public_key, secret_key = kem.keypair()
ciphertext, shared_secret_enc = kem.encapsulate(public_key)
shared_secret_dec = kem.decapsulate(ciphertext, secret_key)
assert shared_secret_enc == shared_secret_dec

# Example: Digital Signature
sig = MLDSA44()
public_key, secret_key = sig.keypair()
message = b"Hello PQC!"
signature = sig.sign(message, secret_key)
verified = sig.verify(signature, public_key)
assert verified == message
```

## Features
- ML-KEM (512/768/1024)
- ML-DSA (44/65/87)
- Falcon (512/1024)
- Cross-platform: Windows, Linux, macOS

## Documentation
- [GitHub Repository](https://github.com/QudsLab/dpqc)
- [PyPI Package](https://pypi.org/project/dpqc/)

## License
MIT
