pith. machine review for the scientific record. sign in
def

keyLength80

definition
show as:
view math explainer →
module
IndisputableMonolith.Cryptography.KeyLengthFromPhiLadder
domain
Cryptography
line
52 · github
papers citing
none yet

open explainer

Generate a durable explainer page for this declaration.

open lean source

IndisputableMonolith.Cryptography.KeyLengthFromPhiLadder on GitHub at line 52.

browse module

All declarations in this module, on Recognition.

explainer page

Tracked in the explainer inventory; generation is lazy so crawlers do not trigger LLM jobs.

open explainer

formal source

  49  exact Real.sqrt_lt_sqrt (by norm_num) one_lt_phi
  50
  51/-- Standard symmetric key lengths (bits). -/
  52def keyLength80 : ℕ := 80
  53def keyLength128 : ℕ := 128
  54def keyLength256 : ℕ := 256
  55
  56theorem keyLength_doubling : keyLength128 * 2 = keyLength256 := by
  57  unfold keyLength128 keyLength256; norm_num
  58
  59structure KeyLengthCert where
  60  ratio_pos : 0 < securityLevelRatio
  61  ratio_gt_one : 1 < securityLevelRatio
  62  key_doubling : keyLength128 * 2 = keyLength256
  63
  64noncomputable def cert : KeyLengthCert where
  65  ratio_pos := securityLevelRatio_pos
  66  ratio_gt_one := securityLevelRatio_gt_one
  67  key_doubling := keyLength_doubling
  68
  69theorem cert_inhabited : Nonempty KeyLengthCert := ⟨cert⟩
  70
  71end
  72end KeyLengthFromPhiLadder
  73end Cryptography
  74end IndisputableMonolith