Metadata-Version: 2.4
Name: fibcrypt
Version: 0.1.4
Summary: A fast Fibonacci-based cryptographic toolkit
Author: Hakan Damar
Author-email: hakan.damar@linux.com
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Security :: Cryptography
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: pycryptodomex>=3.22.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# fibcrypt

**fibcrypt** is a lightweight, open-source cryptographic toolkit based on fast Fibonacci number generation using matrix exponentiation.

## 🔐 Features

- Fast Fibonacci-based PRNG (O(log n))
- AES-256 encryption & decryption (CBC mode)
- Custom key derivation function (KDF)
- Modular, pluggable and extensible structure
- Built-in performance profiling

## 📦 Installation

```bash
pip install fibcrypt
```

## 🚀 Example Usage
```python
from fibcrypt.crypto_utils import encrypt, decrypt

msg = "This is a secret message 🔐"
password = "myStrongPassword123"
salt = "user@example.com"

# Encrypt
cipher = encrypt(msg, password, salt)
print("Encrypted:", cipher.hex())

# Decrypt
plain = decrypt(cipher, password, salt)
print("Decrypted:", plain)
```
## 📈 Performance Example
- [⏱️] KDF total time: 0.0625 s
- [⏱️] AES encryption: 0.0001 s
- [⏱️] Total time:     0.0626 s

## 🛡️ License
This project is licensed under the MIT License - feel free to use and contribute!

