Fix Issue #311 (use Base64 instead of hex encoding)