cintiscas
16th April 2018, 17:40
Good Morning to All,

I'm needing base64 decode a text, use the function base64.decode but I'm not succeeding to convert.

Does anyone have a clue to help me?

oirfeodent
27th April 2018, 14:08
Good Morning to All,

I'm needing base64 decode a text, use the function base64.decode but I'm not succeeding to convert.

Does anyone have a clue to help me?

Can you eloborate if you get any error or post the sample of what is not working? The below code works fine, so ideally it should work.

test.str = "TEST_BASE_64_(~!@#$%^&*)"
ret = base64.encode(test.str, data.out)
test.str = ""
ret = base64.decode(data.out, test.str)
message(test.str)