Metadata-Version: 2.4
Name: azlibs
Version: 1.0.0
Summary: Azlibs — a Package for dev library by AkzDev
Home-page: https://linxa.xyz/index/azlibs
Author: AkzDev
Author-email: 
License: MIT
Project-URL: Bug Tracker, https://linxa.xyz/issue
Project-URL: Documentation, https://linxa.xyz/index/azlibs/wiki
Keywords: rsa,oaep,cryptography,akzdev,azlibs,encryption,security,python-library
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Security :: Cryptography
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-python
Dynamic: summary

# Azlibs V1.0.0
**A Family Dev Project**

## in Package
- RSA & OAEP PROJECT

###  Features on RSA & OAEP
-  RSA key generation (512–4096 bits)
-  OAEP secure padding (SHA-256)
-  Text encryption & decryption
-  Digital signature support (sign & verify)
-  Pure Python — no external dependencies

##  Installation Azlibs
```
pip install azlibs
```

## Usage of RSA

### Generate RSA Keypair
```python
from Azlib.RSATools import genkey

# Generate a 2048-bit RSA keypair
public_key, private_key = genkey(2048)

print("Public Key:", public_key)
print("Private Key:", private_key)
```

### Encrypt and Decrypt Text
```python
from Azlib.RSATools import encrypt_text, decrypt_text

message = "Hello from AkzDev!"
cipher = encrypt_text(message, public_key)
print("Encrypted:", cipher)

decrypted = decrypt_text(cipher, private_key)
print("Decrypted:", decrypted)
```

Output (contoh):
```
Encrypted: 592031591054735219...
Decrypted: Hello from AkzDev!
```

### Sign and Verify Messages
```python
from Azlib.RSATools import sign_message, verify_signature

msg = "This is an important message"
signature = sign_message(msg, private_key)
print("Signature:", signature)

# Verification
is_valid = verify_signature(msg, signature, public_key)
print("Valid:", is_valid)
```

Output (contoh):
```
Signature: 38475018274018247...
Valid: True
```

## License
This project is licensed under the MIT License — see LICENSE for details.  
Made with love by AkzDev Team  
A project proudly part of the Akuzz Open Source Ecosystem.

### Note
Azlibs is still in Version 1.0.0

“Azlibs: simple, powerful, and open for every developer.”
