Table of Contents

TBase32.Encode Method

Encodes the input byte array to a Base32 string.

Syntax

Unit: Sphinx.Otp

class function TBase32.Encode(const Input: TArray<Byte>; Padding: Boolean = False): string;

Parameters

<-> Parameter Type Description
const Input TArray<Byte> The input byte array to encode.
Padding Boolean Optional: Default value is False

Indicates if padding should be used.

Returns

The encoded Base32 string.

See also