encodeWithAlphabet

open fun encodeWithAlphabet(data: Array<Byte>, alphabet: String): String

Encode an input to Base32 with the given alphabet

Return

The encoded data

Parameters

data

Data to be encoded (raw bytes)

alphabet

Encode with the given alphabet, if nullptr ALPHABET_RFC4648 is used by default