sipa / bech32

Code snippets and analysis of the Bech32 format
191 stars 107 forks source link

extra things to test #22

Open gmaxwell opened 7 years ago

gmaxwell commented 7 years ago

Sweep through each valid input and make every 1 bit error, every adjacent character transposition error.

Add some invalid cases that contain unicode bytes that if to-uppered or to-lowered would result in a valid address (including where just the length changes).

Inputs where ignoring the most significant bit would result in a valid address.

Uncovered parts on pull #21