To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example can be used to convert (encode and decode) strings between ASCII, Base64, and Base32Hex encoding.
Description
Base64 encoding is commonly used for encoding passwords and attachments (MIME) in e-mail and other online communication.
Note that Base64 and Base32Hex encoding are not encryption and do not add any security to the information. It is intended to convert any string into a format that can be reliably transferred across any network. In that example, there is a "Main VI" that contains all the operations front panel.
Requirements
Software:
Steps to Implement or Execute Code
1. Run VI.
2. Select which operation you want to handle and enter the input for converting it.
Additional Information or References
Reference:
https://en.wikipedia.org/wiki/Base64
https://en.wikipedia.org/wiki/Base32
http://tomeko.net/online_tools/base64.php
*This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.