Skip to main content

bch_verify_long

Function bch_verify_long 

Source
pub fn bch_verify_long(hrp: &str, data_with_checksum: &[u8]) -> bool
Expand description

Verify a long-code BCH checksum.

Same algorithm as bch_verify_regular with long-code parameters. Returns false if data_with_checksum is shorter than 15 symbols.