{"id":21233684,"url":"https://github.com/bdr-pro/comparing_rsa_aes","last_synced_at":"2026-04-28T19:37:10.808Z","repository":{"id":224827290,"uuid":"764249731","full_name":"BDR-Pro/Comparing_RSA_AES","owner":"BDR-Pro","description":"This project benchmarks RSA and AES key generation in Python, measuring time for security comparisons and records results for educational use.","archived":false,"fork":false,"pushed_at":"2024-02-27T22:24:58.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-01T21:32:19.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/BDR-Pro.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}},"created_at":"2024-02-27T18:41:16.000Z","updated_at":"2024-02-27T18:42:33.000Z","dependencies_parsed_at":"2024-02-27T23:32:15.004Z","dependency_job_id":"af442606-24c8-49ff-ac94-1462fb619714","html_url":"https://github.com/BDR-Pro/Comparing_RSA_AES","commit_stats":null,"previous_names":["bdr-pro/comparing_rsa_aes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BDR-Pro/Comparing_RSA_AES","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FComparing_RSA_AES","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FComparing_RSA_AES/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FComparing_RSA_AES/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FComparing_RSA_AES/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BDR-Pro","download_url":"https://codeload.github.com/BDR-Pro/Comparing_RSA_AES/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FComparing_RSA_AES/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32396766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-20T23:59:55.743Z","updated_at":"2026-04-28T19:37:10.780Z","avatar_url":"https://github.com/BDR-Pro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔐 **RSA \u0026 AES Key Generation: A Gen Z Guide** 🔐\n\nYo fam, welcome to the ultimate showdown between two heavyweight champs in the crypto world: RSA and AES. But guess what? They're not fighting; they're on the same squad in this script! Let’s dive into what makes them tick and how they keep our digital lives on lock.\n\n**I did it to understand why we need both**\n\n🔒 **Encryption: The VIP Guard of the Digital World** 🔒\n\n---\n\n## 👑 RSA (Rivest-Shamir-Adleman) - The Asymmetric Bouncer\n\nImagine RSA as the exclusive bouncer of your digital club. It uses two keys: one public (like the address to the party) and one private (the secret handshake). This duo makes sure that only YOU can decrypt what was meant for you.\n\n- **Key Size**: 4089 bits – Like, majorly hefty. RSA keys are the sumo wrestlers of key sizes, ensuring strong security but taking a bit longer to get off the couch.\n- **Usage**: Perfect for encrypting small bits of data, like the keys for our next contender, AES.\n\n🕒 *Generation Time*: We time how long it takes to whip up these keys, 'cause even in the digital world, nobody likes to wait.\n\n---\n\n## 💨 AES (Advanced Encryption Standard) - The Symmetric Speedster\n\nNow meet AES, the fast and furious of encryption. This one's all about speed and efficiency, using the same key for locking and unlocking content. It's like having a super-fast pass for all your encrypted stuff.\n\n- **Key Size**: 256 bits – Smaller than RSA's but don't be fooled; it's like a ninja: smaller, faster, and super effective.\n- **Usage**: Encrypting bulk data. Think binging your favorite series; AES ensures it's all for your eyes only, real quick.\n\n🕒 *Generation Time*: We check how quickly AES keys can jump into action because when it comes to encryption, speed matters.\n\n---\n\n## 📈 Test \u0026 Comparison Time\n\nHere’s where the magic happens. We run our script to generate RSA and AES keys, timing each to see who’s the speed king and who’s got the strength. It’s like comparing a sprinter to a marathon runner – both awesome, but in different lanes.\n\n- **RSA Time Taken**: Measured in milliseconds, we see how long RSA takes to get ready for the party.\n- **AES Time Taken**: Also measured in milliseconds, showing how quick AES can slip into its encryption sneakers.\n\n---\n\n## 📝 Results \u0026 Deets\n\nAfter running the script, we spill the tea:\n\n- Check out the time each key generation takes.\n- Peek the private and public RSA keys (no worries, it’s just for educational vibes).\n- Gaze at the AES key in all its hexadecimal glory.\n\nWe wrap it all up in a neat \"result.txt\" file, 'cause keeping records is key (pun intended).\n\n---\n\n### 💻 Try It Out \u0026 Learn\n\nWhy just read when you can do? Run the script, generate your keys, and see the encryption magic unfold. Compare the times, understand the strengths, and get why encryption is the VIP guard of online privacy.\n\n✨ **Stay Safe, Stay Encrypted** ✨\n\n---\n\nRemember, this guide is for educational purposes only. Dive in, learn the ropes, and spread the knowledge. Encryption is more than just tech; it's the armor in our digital world. So, gear up and keep your data on lockdown!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdr-pro%2Fcomparing_rsa_aes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdr-pro%2Fcomparing_rsa_aes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdr-pro%2Fcomparing_rsa_aes/lists"}