Reference C code for Bech32 encoded keys https://gist.github.com/jonasschnelli/68a2a5a5a5b796dc9992f432e794d719 Compile gcc -O0 -g bech32.c tests.c -o test