Bech32

object Bech32

Bech32 Kotlin implementation.

Taken from Bitcoinj Bech32 Java implementation

Functions

Link copied to clipboard

Decodes a Bech32 string.

Link copied to clipboard
fun encode(bech32: Bech32Data): String
fun encode(humanReadablePart: String, data: ByteArray): String

Encodes a Bech32 string.