Skip to main content

base64

Provides functions for base64 encoding strings.

You can import these APIs from the base64 package. For example:

from base64 import b64encode

b64encode

b64encode(str: String) -> String

Performs base64 encoding on the input string.

Args:

  • str (String): The input string.

Returns:

Base64 encoding of the input string.