MIRЯIM
Fast RSA Key Generation as a Service
Production-grade RSA-2048/4096 keypair generation, 1.4× faster than OpenSSL, with full 64-round Miller-Rabin testing and zero structural weaknesses
Used internally to generate over 150,000 production-grade RSA primes.
1.4× Faster
Benchmarked at 1.41× faster than OpenSSL for 2048-bit primes, with parallel keypair generation for even better performance.
Production-Grade Security
64-round Miller-Rabin testing (error probability < 2⁻¹²⁸), deliberately avoiding structural weaknesses in p−1/q−1.
Python-Native
Simple, clean API that integrates seamlessly into your existing Python infrastructure without C dependencies.
Fully Benchmarked
Comprehensive testing with reproducible results. All benchmarks and verification data available for review.
Optimized Generation
Efficient randomized prime generation with optimized Miller-Rabin testing and careful probability management.
Clear Separation
Educational code clearly separated from production code. No ambiguity about what's safe for production use.
Technical Performance
Real-world benchmarks on standard hardware:
per 2048-bit prime
per 2048-bit prime
(sequential mode)
for full keypairs
Configuration: 64-round Miller-Rabin, random primes, no pre-computed tables, production-safe defaults.
API Integration Example
Simple, clean API for RSA keypair generation:
from mirrim_rsa import generate_rsa_keypair_parallel
key = generate_rsa_keypair_parallel(bits=2048)
print(key["public"]["n"])
Drop-in replacement for standard RSA generation with significantly better performance.
Beyond RSA: Research Discoveries
Research applications beyond RSA key generation:
10,000-Digit Primes
Successfully generated and verified primes with over 10,000 decimal digits—far beyond RSA requirements but demonstrating method robustness.
L11 Cunningham Chains
Discovered length-11 Cunningham chains (sequences where each element relates to the next through specific patterns)—a rare mathematical structure.
These aren't part of the RSA service—just fun demonstrations of the method's capabilities.
Pilot Pricing
Early access pricing for organizations that need fast, secure RSA key generation. Help fund future open-source release.
All plans include: API access to MIRЯIM v1 service, 64-round MR with production-safe primes, API & security documentation, and email support.
⚖️ Threshold Economics Model
These are pilot prices for early adopters. By using MIRЯIM now, you're helping fund future open-source release. Once the threshold revenue target is reached, the core library will be released freely to everyone under MIT license. Invitation to universal access.
Ready to Get Started?
Contact us to discuss your key generation needs, request benchmark data, or set up a trial deployment.
Get in Touchor email: shiraniabranches@gmail.com
What You Get
- API access - RESTful API for RSA keypair generation
- Production-safe keys - 64-round Miller-Rabin tested primes, random generation
- Fast generation - 1.41× faster than standard OpenSSL performance
- API documentation - Complete integration guide and usage examples
- Security documentation - Clear explanation of key safety and testing procedures
- Benchmark transparency - Reproducible performance data vs OpenSSL
- Email support - Technical assistance during integration
Perfect For
VPN Providers
Generate thousands of unique certificates for clients efficiently and securely.
IoT Platforms
Provision device keys at scale without compromising on security or speed.
Enterprise PKI
Reduce key generation latency in your certificate authority infrastructure.
Cloud Services
Improve TLS certificate generation time for dynamically provisioned resources.
Security Research
Fast, reliable key generation for testing and cryptographic research.
High-Volume SaaS
Reduce CPU load while maintaining strong cryptographic guarantees.