• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
Maker Hacks

Maker Hacks

Ideas, news & tutorials for makers and hackers – Arduino/Raspberry Pi, 3D printing, robotics, laser cutting, and more

  • Home
  • About
  • 3D Printing
  • Laser Cutting
  • YouTube
  • Free Arduino Course
  • Recommendations
  • Contact

Day 5: Lesson 04 – Spy Box Part 1

You are here: Home / 30 Days to Arduino Programming Course / 30 Days to Arduino Lessons / Day 5: Lesson 04 – Spy Box Part 1

Now we know how to get input from the user, we can create a cool project. 

Let’s make a Secret Spy Box with Super Fine Security*

* Not really secure

First we will accept a password to store in the Arduino volatile storage, the EEPROM memory. This means when the Arduino is turned off or reset then the password will still be in memory.

For a kind of (but not) encryption, we will use the ROT13 algorithm that “rotates” each letter of the entered password by 13. This means the password can be UNencrypted using the same method.

At the start of the sketch you will see the following:

#include <EEPROM.h> 

This is telling the Arduino editor that when we compile the sketch, we want to include the EEPROM library. This is a set of code files that give us abilities and functions not present in our own sketch.

Password Recorder Code

  • 3D Printing
  • CNC
  • Hardware
  • Laser Cutting
  • News
  • Retro Computing
  • Software

amiga amos arduino basic programming budget buying cad cnc commodore corexy c programming creality crypto doctor who emulation esp32 esp8266 filament fpga glowforge Hacks Ideas kids lighting linux Makes making Monoprice Parts pc props prusa python raspberry pi ratrig resin Reviews robots software sounds technology tips upgrades wanhao xtool

.

Maker Hacks Blog Copyright © 2023 · All Rights Reserved · Powered by Mai Theme