Example Code

Caesar Cipher Encryption in LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This is a Caesar Cipher VI that allows you to copy and paste blocks of text.  

 

Description

The program will strip out all non-letter characters (which includes numbers) and allows you to shift the rest of the sequence. This program can be improved by turning the string to all lower case/upper case values. 

 

Requirements

  • LabVIEW 2013 (or compatible).

 

Steps to Implement or Execute Code  
1. Input message and select proper y value.
2. Run the VI and the encrypted message is shown in Ciphertext block.

 


**This document has been updated to meet the current required format for the NI Code Exchange.**

Joel I.
Applications Engineer
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.