use base64 instead of hex