{"id":25415535,"url":"https://github.com/rexolt/seccryptpack","last_synced_at":"2025-08-23T04:11:23.630Z","repository":{"id":223349453,"uuid":"760078983","full_name":"Rexolt/SecCryptPack","owner":"Rexolt","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-20T19:45:56.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T21:13:55.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rexolt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-19T18:40:15.000Z","updated_at":"2024-11-20T19:46:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"dca5d120-811f-41c6-9cf6-b8317e91a6f3","html_url":"https://github.com/Rexolt/SecCryptPack","commit_stats":null,"previous_names":["rexolt/seccrypack","rexolt/seccryptpack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rexolt/SecCryptPack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rexolt%2FSecCryptPack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rexolt%2FSecCryptPack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rexolt%2FSecCryptPack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rexolt%2FSecCryptPack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rexolt","download_url":"https://codeload.github.com/Rexolt/SecCryptPack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rexolt%2FSecCryptPack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271740732,"owners_count":24812642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-16T15:37:35.091Z","updated_at":"2025-08-23T04:11:23.583Z","avatar_url":"https://github.com/Rexolt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛡️ SecCryptPack\n\nSecCryPack is a Python package providing a comprehensive collection of encryption methods for secure communication. Whether you're a security enthusiast or a developer looking to implement robust encryption in your applications, SecCryPack has you covered.\n\n## 🌟 Features\n\n- **Caesar Cipher**: A simple substitution cipher used for educational purposes and basic encryption needs.\n- **AES Encryption/Decryption**: The Advanced Encryption Standard for symmetric key encryption, ensuring strong security.\n- **RSA Key Generation, Encryption, and Decryption**: Asymmetric key algorithm for secure communication and digital signatures.\n- **Fernet Symmetric Key Encryption/Decryption**: A lightweight and secure method for symmetric encryption.\n- **Diffie-Hellman Key Exchange**: A secure key exchange protocol for establishing shared secrets over an insecure communication channel.\n\n## 🚀 Installation\n\n```bash\n# Navigate to the installed folder and type \"cmd\" into the address bar.\n# Then run the following command to install:\n\npython setup.py install\n```\n## 📚Usage\n```bash\nfrom seccrypack.myencryption import caesar_cipher, aes_encrypt, aes_decrypt, generate_rsa_keypair\nfrom seccrypack.myencryption.fernet import generate_fernet_key, encrypt_fernet, decrypt_fernet\nfrom seccrypack.myencryption.diffie_hellman import generate_dh_keypair, derive_dh_shared_key\n\n# Example: Caesar cipher\nplaintext = \"Hello, SecCryPack!\"\nshift = 3\nciphertext = caesar_cipher(plaintext, shift)\nprint(f\"Caesar Cipher: {ciphertext}\")\n\n# Example: AES encryption/decryption\nkey = b'Sixteen byte key'\nencrypted_text = aes_encrypt(plaintext, key)\ndecrypted_text = aes_decrypt(encrypted_text, key)\nprint(f\"AES Encrypted: {encrypted_text}\")\nprint(f\"AES Decrypted: {decrypted_text}\")\n\n# Example: RSA key generation, encryption, and decryption\nprivate_key, public_key = generate_rsa_keypair()\nrsa_encrypted_text = encrypt_rsa(public_key, plaintext)\nrsa_decrypted_text = decrypt_rsa(private_key, rsa_encrypted_text)\nprint(f\"RSA Encrypted: {rsa_encrypted_text}\")\nprint(f\"RSA Decrypted: {rsa_decrypted_text}\")\n\n# Example: Fernet symmetric key encryption/decryption\nfernet_key = generate_fernet_key()\nfernet_encrypted_text = encrypt_fernet(fernet_key, plaintext)\nfernet_decrypted_text = decrypt_fernet(fernet_key, fernet_encrypted_text)\nprint(f\"Fernet Encrypted: {fernet_encrypted_text}\")\nprint(f\"Fernet Decrypted: {fernet_decrypted_text}\")\n\n# Example: Diffie-Hellman key exchange\nalice_private, alice_public = generate_dh_keypair()\nbob_private, bob_public = generate_dh_keypair()\n\nshared_key_alice = derive_dh_shared_key(alice_private, bob_public)\nshared_key_bob = derive_dh_shared_key(bob_private, alice_public)\n\nprint(f\"Alice's shared key: {shared_key_alice}\")\nprint(f\"Bob's shared key: {shared_key_bob}\")\n\n```\n\n# 🤝Contributing\n\nContributions are welcome! Feel free to open issues or pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frexolt%2Fseccryptpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frexolt%2Fseccryptpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frexolt%2Fseccryptpack/lists"}