Base32 encode. If pad is true, then the output will be padded with '=' so that its length is a multiple of 8.

Synopsis

Declared in <util/strencodings.h>

std::string
EncodeBase32(
    std::span<unsigned char const> input,
    bool pad = true);

Return Value

The base32 encoding of input.

Parameters

Name

Description

input

The bytes to encode.

pad

Whether to pad the output with '=' to a multiple of 8 characters.

Created with MrDocs