Security key rotation schedule calculator

Calculate rotation due delays and due within horizon IDs with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use rotation due delays and due within horizon IDs to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

JSON Keys [ID,current age days,supplied rotation interval days,planned outage group]
[["A",80,90,"G1"],["B",95,90,"G1"]]
Planning horizon (days)
20
Rotation due delays (days)
[["A",10],["B",0]]
Due within horizon IDs
["A","B"]
Shared change groups requiring coordination
[["G1",["A","B"]]]

Try another scenario

JSON Keys [ID,current age days,supplied rotation interval days,planned outage group]
[["A",80,90,"G1"],["B",95,90,"G1"]]
Planning horizon (days)
5
Rotation due delays (days)
[["A",10],["B",0]]
Due within horizon IDs
["B"]
Shared change groups requiring coordination
[]
Calculation method

Calculation method

Rotation due delays (days)

J([[r[0],max(0,r[2]-r[1])] for r in a])

Due within horizon IDs

J([r[0] for r in a if r[2]-r[1]<=b])

Shared change groups requiring coordination

J([[g,[r[0] for r in a if r[3]==g and r[2]-r[1]<=b]] for g in sorted({r[3] for r in a}) if sum(r[3]==g and r[2]-r[1]<=b for r in a)>1])

Symbols and units
a
JSON Keys [ID,current age days,supplied rotation interval days,planned outage group]
b
Planning horizon (days)

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Calculation steps and notation

sum(list) adds all entries in the list.

Assumptions & limits

Assumptions & limits

  • User-supplied rotation periods and dependency groups only; same-group simultaneous change is flagged for coordination, not deemed unsafe by a fabricated standard. Supported limits: All numeric inputs must be finite. Only the explicitly described mathematical scenario is supported.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.