user128057: The Bitcoin Wiki page for Bech32 addresses explains how one can create a bech32 address from a public key. In step 6 it says-

Compute the checksum by using the data from step 5 and the H.R.P (bc for MainNet and tb for TestNet)

I went through the bip 173 wiki page which explains the checksum process. However I do not know python and cannot understand most of it.
How does one compute the checksum? Is there some library I can use? I mainly develop in Java/Kotlin/C++. Either an explanation of the python code on the bip173 page or libraries/code snippets in the languages I develop in will be greatly appreciated.

user208: You may want to look at the reference implementation section: https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#reference-implementations
It lists implementations for various languages, including C, C++, and JavaScript

128057: <p>The <a href="https://en.bitcoin.it/wiki/Bech32" rel="nofollow noreferrer">Bitcoin Wiki page for Bech32 addresses</a> explains how one can create a bech32 address from a public key. In step 6 it says-</p>
<blockquote>
<p>Compute the checksum by using the data from step 5 and the H.R.P (bc for MainNet and tb for TestNet)</p>
</blockquote>
<p>I went through the <a href="https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#Bech32" rel="nofollow noreferrer">bip 173 wiki page</a> which explains the checksum process. However I do not know python and cannot understand most of it.</p>
<p>How does one compute the checksum? Is there some library I can use? I mainly develop in Java/Kotlin/C++. Either an explanation of the python code on the bip173 page or libraries/code snippets in the languages I develop in will be greatly appreciated.</p>
 208: <p>You may want to look at the reference implementation section: <a href="https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#reference-implementations" rel="nofollow noreferrer">https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#reference-implementations</a></p>
<p>It lists implementations for various languages, including <a href="https://github.com/sipa/bech32/tree/master/ref/c" rel="nofollow noreferrer">C</a>, <a href="https://github.com/sipa/bech32/tree/master/ref/c++" rel="nofollow noreferrer">C++</a>, and <a href="https://github.com/sipa/bech32/tree/master/ref/javascript" rel="nofollow noreferrer">JavaScript</a></p>
