Metadata-Version: 2.4
Name: tekencrypt
Version: 1.0.0
Summary: Encryption toolkit — crypto, forensics, web exploitation, and security analysis
Author: tekencrypt
License: MIT
Keywords: encryption,crypto,forensics,steganography,web-security
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Security :: Cryptography
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: Pillow>=10.0
Requires-Dist: scapy>=2.5
Requires-Dist: requests>=2.31
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"

# tekencrypt

Encryption toolkit with crypto, forensics, web exploitation, and security analysis solvers.

## Install

```bash
pip install -e .
```

## Usage

### As a library

```python
from tekencrypt.crypto import affine_brute, hastad_broadcast, otp_reuse
from tekencrypt.forensics import lsb_extract, dns_exfil, png_metadata
from tekencrypt.web import jwt_forge_hs256, cookie_role_upgrade, pickle_read_file
from tekencrypt.misc import vm_brute_force, pipeline_reverse
```

### As a CLI

```bash
tekencrypt affine "CIPHERTEXT" --known TEKANA
tekencrypt otp-reuse <known_hex> <c1_hex> <c2_hex>
tekencrypt rsa-gcd data.json
tekencrypt hastad receivers.json
tekencrypt png-meta image.png
tekencrypt lsb image.png
tekencrypt dns-exfil capture.pcap
tekencrypt tkm2 dump.bin
tekencrypt jwt-forge <k_b64> --role admin
tekencrypt pickle-rce /path/to/flag
tekencrypt cookie-upgrade <cookie_value>
tekencrypt vm-solve verifier.py
tekencrypt pipeline encoded.bin --pipeline "xor-repeat,zlib,base85" --key-a abc --key-b def
```

## Modules

| Module | Techniques |
|--------|-----------|
| `crypto` | Affine, Vigenere+oracle, OTP reuse, RSA GCD, Hastad broadcast, Shamir SSS, stream cipher reuse |
| `forensics` | PNG metadata, LSB stego, PNG polyglot, DNS exfil, TKM2 binary, log exfil, clock drift, Hamming ECC, palette stego |
| `web` | JWT HS256 forge, pickle RCE, SQLi helpers, SSTI decrypt, HPP, cookie bypass, recon XOR |
| `misc` | VM verifier brute-force, encoding pipeline reversal |
| `utils` | XOR, base64url, bit rotation, bit packing, modular inverse |
