convert Hexdecimal string to base64 without using blob variable ?
- Wagdy Akeela
- PowerBuilder
- Tuesday, 7 December 2021 21:35 PM UTC
- Page :
- 1
There are no replies made for this question yet.
However, you are not allowed to reply to this question.
However, you are not allowed to reply to this question.
If you are using a normal PowerBuilder String (UTF16-LE) then you can use the Blob function without any Encoding Enumeration.
That leads to:
ls_Base64Str = lnv_CoderObject.Base64Encode(Blob(ls_yourString))
thanks
Or try the crypto API Example from Roland Smith's website.
https://www.topwizprogramming.com/freecode_cryptoapi.html.
This offers an encoding for a string: => of_encode64 (string as_message) returns string
hth
Arnd