encodeNoPadding static method

String encodeNoPadding(
  1. String data, [
  2. String? customAlphabet
])

Encode the provided string into a Base32 encoded string without padding characters. Optionally, you can specify a custom alphabet for encoding.

Implementation

static String encodeNoPadding(String data, [String? customAlphabet]) {
  return encodeNoPaddingBytes(StringUtils.encode(data), customAlphabet);
}