botan.base64_encode

Synopsis

local botan = require "botan"

botan.base64_encode(out_buffer: byte_span, input: byte_span) -> byte_span (1)
botan.base64_encode(input: byte_span) -> string (2)

Description

Perform base64 encoding.

If provided, out_buffer should have at least base64_encode_max_output(input) bytes.