I thought the data had to be a byte array. There is another twist that it has to be in base 64. Is there a routine to do this?
I think I found the string function (base64encode).