> For the complete documentation index, see [llms.txt](https://exbot.obrassard.ca/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://exbot.obrassard.ca/encryption-methods.md).

# Encryption Methods

## encode

```java
public static String encode(String textToEncode)
```

*Encode a string using BASE64.*

### Parameters:

**textToEncode** - string to encode<br>

### Return:

The BASE64 encoded string.

## decode

```java
public static String decode(String textToEncode)
```

*Decode a BASE64 string.*

### Parameters:

**textToDecode** - string to decode

### Return:

The decoded string.
