How do I encode binary data as Base64 string?

The result of our program: