# Base64 encoding

For all calculations of Base64 values, the Investment API uses Base64 encoding with the standard alphabet and padding as defined
in [RFC 4648 section 4](https://datatracker.ietf.org/doc/html/rfc4648#section-4).

To validate your implementation use the following examples:

**Examples**

| Value | Expected Base64 value |
|  --- | --- |
| A | QQ== |
| AB | QUI= |
| AB> | QUI+ |
| AB? | QUI/ |