Skip to main content

GEN_LONG

Constant GEN_LONG 

Source
pub const GEN_LONG: [u128; 5];
Expand description

BCH polymod constants for the long checksum (BCH(108,93,8)).

Source: BIP 93 (codex32) reference implementation, ms32_long_polymod function. The long polymod uses a 75-bit residue (top 5 bits = b, bottom 70 bits = masked state).

Verified against the canonical reference at https://github.com/bitcoin/bips/blob/master/bip-0093.mediawiki.