IoT or Internet of Things is a modern term describing the ever growing system of widely interrelated devices which communicate automatically. Almost all devices we consider to be mobile work through an IoT network and participate in this sharing of information. As of late, there has been a rising need to secure communications across smaller, more embedded devices that are increasing in number within IoT networks. These embedded devices may include sensors sending sampled data to a processing unit, or processors themselves that are the brain of a specific embedded device. Securing these systems can be done through cryptography, but standard cryptography is not fully compatible with these small devices. The new constraints presented by securing communications on these devices include minimizing power consumption and resource utilization, while allowing for a viable throughput [Gubbi, Jayavardhana, et al., 2013]. In this paper, a lightweight cryptography algorithm, which attempts to optimize the previously mentioned constraints, is implemented in a system. This implementation was designed using a mix of HDLs (Hardware Description Languages) and designed to be dynamic to be able to accommodate systems with a variety of security requirements. The implementation is applied to a system of sonars that send each other encrypted distance data relative to each other, and use the decrypted data to detect whether they need to adjust their positioning. The aim of using this test system is to emulate use cases in industries where devices must process relative positioning data and communicate securely, while relying on a limited power supply. Examples of these systems include UAVs, drones used for surveillance and recon, etc.