Convert bytes to an alphabet string using a base and alphabet function. Matches Rust data_to_alphabet function.
Input bytes
Target base
Function to convert index to character
String of alphabet characters
Convert bytes to an alphabet string using a base and alphabet function. Matches Rust data_to_alphabet function.