Skip to main content

SAFETY_CODE_DIGITS

Constant SAFETY_CODE_DIGITS 

Source
pub const SAFETY_CODE_DIGITS: usize = 12;
Expand description

How many decimal digits a safety code carries. Under the commit-then-reveal ordering over nonce-bearing inputs a man in the middle gets one blind guess, so twelve digits bound it at one in 10^12.