"""This problem was asked by Paypal.

Read this Wikipedia article on Base64 encoding.

Implement a function that converts a hex string to base64.

For example, the string:

deadbeef
should produce:

3q2+7w==
"""