pub fn safety_code(a_keys: &[u8], b_keys: &[u8]) -> StringExpand description
The safety code both devices display, over the initiator’s and the enrollee’s canonical advertised-key bytes, in that order.
Each input must include that side’s fresh per-ceremony nonce: over static keys alone the code is grindable whatever the reveal order (see the module docs).
The result is SAFETY_CODE_DIGITS decimal digits in groups of SAFETY_CODE_CHUNK
separated by single spaces (e.g. 0412 7730 9958), zero-padded so it is always the same
length. Deterministic: the same two inputs always give the same code, on every platform.