ZBase32

object ZBase32

ZBase32 is a variant of Base32 encoding designed to be human-readable and more robust for oral transmission. Reference: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt

Functions

Link copied to clipboard
fun decode(data: String): ByteArray

Decodes a zbase32-encoded string back into its original byte array.

Link copied to clipboard
fun encode(data: ByteArray): String

Encodes the given byte array to a zbase32-encoded string.