Attack Probability Calculator
Comprehensive cryptographic attack analysis. Brute force, birthday attacks, side-channel risks, password strength, and key derivation security.
Progress0%
Step 1 of 7
How to Use This Calculator
- Follow the step-by-step wizard — complete each step before moving to the next. This guided approach ensures you provide all the necessary information in a logical order.
- Attack Type — Calculation mode to use. Choose from: Brute Force Analysis, Birthday/Collision Attack, Side-Channel Risk, Password Attack, Key Derivation Security. default: 0.
- Key Space (bits) — AES-128 = 128 bits default: 128.
- Attack Rate (hashes/sec) — 1e12 = 1 trillion/sec default: 1,000,000,000,000.
- Parallel Devices — enter a numeric value. default: 1.
- Target Success (%) — enter a numeric value. default: 50.
- Hash Output (bits) — MD5=128, SHA-256=256 default: 128.
- Collision Probability (%) — enter a numeric value. default: 50.
- Items Generated — How many hashes created default: 1,000,000,000.
- Implementation Type — enter your preferred option from the dropdown. Choose from: Standard Software, Hardware/Embedded, Constant-Time. default: 0.
- Attacker Access — enter your preferred option from the dropdown. Choose from: Remote Only, Local Access, Physical Access. default: 0.
- Measurement Precision — enter your preferred option from the dropdown. Choose from: Low (ms), Medium (μs), High (ns). default: 0.
- Password Length — Desired password length. default: 12.
- Character Set Size — 95 = printable ASCII default: 95.
- Known Patterns — enter your preferred option from the dropdown. Choose from: None (random), Dictionary word, Common patterns. default: 0.
- Hashing Cost (bcrypt) — bcrypt cost factor (10-14) default: 12.
- KDF Algorithm — enter your preferred option from the dropdown. Choose from: PBKDF2, bcrypt, scrypt, Argon2id. default: 3.
- Iterations/Cost — PBKDF2: 100000+, bcrypt: 12, Argon2: 3 default: 3.
- Memory (MB) — For scrypt/Argon2 default: 64.
- Parallelism — For Argon2 default: 4.
- Once all inputs are set, review your results in the Results panel. Here's what each output means:
- Time to Crack (years) — shown as a numeric value. This is the primary result of this calculator.
- Feasibility — your calculated result. This is the primary result of this calculator.
- Birthday Bound — shown as a numeric value. This is the primary result of this calculator.
- Overall Risk — your calculated result. This is the primary result of this calculator.
- Strength Rating — your calculated result. This is the primary result of this calculator.
- OWASP Compliant — your calculated result. This is the primary result of this calculator.
- Total Key Space — shown as a numeric value.
- Energy Cost ($) — shown as a dollar amount.
- Collision Probability (%) — shown as a percentage.
- Security Margin (bits) — shown as a numeric value.
- Timing Attack Risk — your calculated result.
- Cache Attack Risk — your calculated result.
- Entropy (bits) — shown as a numeric value.
- bcrypt Crack Time (years) — shown as a numeric value.
- KDF Algorithm — your calculated result.
- Memory Hard — your calculated result.
- Hash Time (ms) — shown as a numeric value.
- View the Attack Time vs Key Size below for a visual breakdown of how the numbers relate to each other.
- Check the Attack Analysis for a detailed row-by-row breakdown. This is useful for spotting trends or finding values at specific points.
- Explore the related calculators below if you need deeper analysis or want to approach this topic from a different angle.
Ad Placeholder
Formula
Time = KeySpace / AttackRate | Birthday = √(π/2 × N)Related Calculators
Encryption Strength Calculator
Complete encryption strength analysis. Key strength, hash functions, cipher modes, post-quantum cryptography, and random number generation.
Security Tools Calculator
Password strength analysis, crack time estimation, and hash algorithm comparison.
Password Strength Calculator
Check how strong your password could be based on length and character types. See estimated time to crack.
Ad Placeholder