Use the Qlib.base64 commands to encode an ASCII text string to Base64 text and then decode back to ASCII.
Name |
Arguments |
Description |
---|---|---|
Qlib.base64_enc() |
"string_to_encode" |
Within double quotes, specify the text string to encode to Base64. |
Qlib.base64_dec() |
"base64_string" |
Within double quotes, specify the Base64 string to decode. |
SourceTxt = "Hello!" print("Source Text: "..SourceTxt) b64 = Qlib.base64_enc(SourceTxt) print("Base64-encoded Text: "..b64) print("Decoded Base64 Text: "..Qlib.base64_dec(b64))
Source Text: Hello!
Base64-encoded Text: V2hhenp1cCE/
Decoded Base64 Text: Hello!
QSC.com | Software and Firmware | Resources | QSC Self Help Portal
© 2009 - 2018 QSC, LLC. All rights reserved. QSC and the QSC logo are trademarks of QSC, LLC in the U.S. Patent and Trademark office and other countries. All other trademarks are the property of their respective owners.
http://patents.qsc.com