Find a tool · Java

Proving that your Java code does not leak secrets

Secrets do not influence public outputs, timing or memory access patterns (constant-time code, non-interference).

Change the question

I have code and want to prove

Effort
My code uses

Ranked by: support for this property, stage, coverage of the features you pick, and trust. Tools that work on compiled code rank lower. Ranking as JSON.

  1. KeY

    Write JML specifications for sequential Java code; KeY's prover, mostly automatic with interactive steps when needed, proves the code meets them.

    Supported.KeY's information-flow module checks JML "determines" clauses, which state which results may depend on which inputs.
    Source
    Supported — KeY's information-flow module checks JML "determines" clauses, which state which results may depend on which inputs.

    Effort
    Interactive
    Covers
    7 of 14 Java features
    Relies on
    KeY's own rule-based prover decides; its large rule base is trusted, not a small kernel. Default integer rules ignore overflow, which KeY itself marks unsound; Java mode exists.
    Stage 1 · Usable Trust: Checker partial, Semantics weak, Frontend partial, Binary gap weak, Escape hatches partial 0/5 strong

Ask something else about Java

New to this? Start with the glossary: auto-activeAuto-active verification. You write specifications and hints in the code; an automatic solver does the proving., interactiveInteractive theorem prover. A proof assistant where you write proofs step by step and the system checks each step., trusted computing baseTrusted computing base (TCB). Everything that must be correct for a proof to mean what it says..

esc