Use Base64.strict_encode64 to encode the entry data.