Usage</a></h3>
  
   <p>4 functions are available to encode data. <code>encode_bech32/2</code> and
   <code>encode_bech32m/2</code> automatically encode data in the right format
   using indexed data. In case of issue, these functions raise an
   exception. <code>encode/2</code> and <code>encode/3</code> can accept many options and   
will use ok/error patterns. Here some example:</p>
  
   <pre>   % Define an HRP
   HRP = "test".
  
   % Define an indexed string using base32. This data can be
   % generate