Calculator Hub

Technology & Computing

AES-GCM Nonce Collision & Key Exhaustion Calculator

Estimate the safe number of messages encrypted under one AES-GCM key before random 96-bit nonce collisions become likely.

Your inputs

Change any value to update the result instantly.

Technology & Computing

Safe messages per key (birthday bound)

3,98,06,57,29,532.8608

Collision probability at planned volume

0%

Nonce space size (2^96)

79,22,81,62,51,42,64,34,00,00,00,00,00,000

Planned messages

10,00,000

With random 96-bit nonces, NIST recommends limiting encryptions per key to well under 2^32 messages to keep collision risk negligible.

Formula and working

Birthday bound: safe message count ≈ sqrt(2 × 2^96 × target collision probability)

  1. 1

    Collect the inputs

    Acceptable collision probability = 0; Planned messages per key = 1,000,000

  2. 2

    Apply the formula

    Birthday bound: safe message count ≈ sqrt(2 × 2^96 × target collision probability)

  3. 3

    Result

    Safe messages per key (birthday bound) = 398,065,729,532.8608

Frequently asked questions

Important limitation

This is an educational estimate based only on the values and formula shown. Verify current rates, rules, units, and professional standards before relying on the result. It is not personalized financial or investment advice.

Report a mistake or request an improvement

Tell us if a formula, unit, explanation, or result needs attention. Your message will include this calculator’s name and page.

Related calculators

Back to Calculator Hub