Skip to content

Vatsaboii/cryptsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptsp: Next Generation Unified Cryptography Library

Secure, Powerful, and Ready for the Future

Welcome to Cryptsp, a modern cryptography library designed to simplify and enhance your encryption, decryption, and security workflows. Whether you're a beginner or a seasoned developer, Cryptsp is your go-to toolkit for building robust, secure applications.

Introduction

Cryptsp is a powerful and easy-to-use cryptography library that combines multiple cryptographic techniques under a single package. It supports:

  • Symmetric Encryption: AES, ChaCha20, Salsa20
  • Asymmetric Encryption: RSA, ECC
  • Key Derivation: PBKDF2, Argon2
  • Hashing & Digital Signatures: SHA-256, HMAC, RSA Signatures

This library simplifies cryptographic operations by integrating multiple libraries into a unified interface, allowing users to encrypt, decrypt, sign, and verify data with minimal effort.

Benefits of Using Cryptsp

  • Unparalleled Security: Built on industry-leading cryptography libraries like PyCryptodome and JWT, Cryptsp ensures your data is encrypted with state-of-the-art algorithms.
  • Lightweight and Fast: Designed to perform without draining resources, Cryptsp is highly efficient even on systems with limited capacity.
  • Ease of Use: Simple function calls to encrypt, decrypt, and sign data.
  • Versatility: Supports both symmetric and asymmetric encryption along with key derivation and hashing.
  • Security: Encrypt and decrypt files with support for multiple algorithms, making it a perfect fit for securing sensitive data in transit or storage.
  • Developer-Friendly: Easy-to-use functions save time and reduce the complexity of writing cryptographic code.

Installation 🛠️

To install Cryptsp, use the following command:

pip install cryptsp

Example Usage

1. Encrypt and Decrypt with AES

manager = CryptoManager()
key = manager.generate_key()
encrypted_data = manager.encrypt_aes("Hello, AES-GCM!", key, mode='GCM')
decrypted_data = manager.decrypt_aes(encrypted_data, key)
print("Decrypted (AES-GCM):", decrypted_data.decode())

print("Ciphertext:", encrypted_data)
print("Decrypted Text:", decrypted_data)

2. RSA Encryption and Decryption

from cryptsp import CryptoManager

private_key, public_key = manager.generate_rsa_keypair()
encrypted_data = manager.encrypt_rsa("Hello, RSA!", public_key)
decrypted_data = manager.decrypt_rsa(encrypted_data, private_key)
print("Decrypted (RSA):", decrypted_data.decode())

GitHub Repository

For more examples and documentation, visit the official repository: GitHub - Cryptsp

Extensibility 🔧

Open-source and modular, so you can easily add new encryption algorithms or customize it for your use case.

Conclusion

Cryptsp makes cryptographic operations straightforward by wrapping multiple libraries into a single package. Whether you're encrypting sensitive data, signing messages, or generating secure keys, Cryptsp provides a seamless experience.


Give it a try and enhance the security of your applications with Cryptsp!

About

A Python library offering a comprehensive collection of predefined encryption and decryption algorithms for secure and efficient cryptography.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages