Build an Electronic Random Character Generator for One Time Pad Cryptography in Bamboo Case

by sbmull in Circuits > Electronics

28471 Views, 163 Favorites, 0 Comments

Build an Electronic Random Character Generator for One Time Pad Cryptography in Bamboo Case

b5.JPG
Foil the NSA!  With this device you can make One Time Pads and create cryptograms that are unbreakable if used correctly. The concept is simple. Create a string of random characters (that is where this device comes in).  Share this string of random characters with a friend. Use the random string to encode a message. Your friend can decode the message using the random characters you shared earlier. If the random string is kept secret, it is theoretically impossible for anyone but you and your friend to read the message. 

Don't wait!  Get your One Time Pad generator here!

https://www.etsy.com/listing/181967530

Add the LEDs to the Board

IMG_3496.JPG
IMG_3497.JPG
IMG_3502.JPG
IMG_3503.JPG
IMG_3504.JPG
IMG_3505.JPG
IMG_3506.JPG
IMG_3507.JPG
IMG_3508.JPG
IMG_3511.JPG
IMG_3512.JPG
IMG_3513.JPG
To start, let's add the LEDs to the board. Start with the four corner LEDs. Once those are soldered add the rest, row by row. Each LED has a flat side which should be aligned with the white outline on the board. I have made it very easy for you since all the LEDs are oriented the same way :). Use a wire cutter or low profile trimmers to clip the leads flush with the board. The green ones shown in the pictures are from the craft section at Wal-Mart and work great. Be sure to save the cut-off LED leads as you will need a few later.

You should now have 15 LEDs soldered and oriented correctly. It is important that they face out straight to match the holes in the case.

Add the Coin Battery Clip

IMG_3514.JPG
IMG_3518.JPG
IMG_3517.JPG
Adding the battery clip is easy. Place it on the board with the curved edge facing the outside. It should match the outlines on the board. You may find it helpful to temporarily tape the battery clip to the board while you turn it over to solder the bottom side. A quick dab of solder on one terminal while you hold the clip in place works too.

Adding the Microcontroller

IMG_3519.JPG
IMG_3521.JPG
IMG_3524.JPG
IMG_3525.JPG
The microcontroller is the last component to solder. Be sure the end of the microcontroller with the dot is aligned with the white notch of the outline on the board. Double and triple check it is oriented correctly before you solder.

Add Battery

IMG_3526.JPG
IMG_3527.JPG
IMG_3528.JPG
Insert the supplied CR1225 battery (positive side up) into the battery clip. Your One Time Pad Generator is now ready!

Touch the Sensor to Generate a Character

i2.JPG
Just touch the sensor at the top of the board with a finger to start random character generation.

The kits will sleep in low power mode until another touch is sensed.

Extend the Touch Sensor

IMG_3560.JPG
IMG_3561.JPG
IMG_3562.JPG
IMG_3563.JPG
IMG_3564.JPG
IMG_3565.JPG
IMG_3566.JPG
This simple touch sensor extension will allow you to reach the touch sensor between the bamboo plates easily. Use a couple of the leads which you cut off of the LEDs in the first step. Most any thin wire will do but the cut off LED leads work great. Insert the led about 3mm into the front hole on touch sensor. Holding it in the hole, wrap it around the back of the board. The wrapped around wire should just touch the end you put through the hole. Trim the excess length and solder these two ends together. Do the same with the other touch pad.  You may put a little solder on the front touch pads for extra security as shown in the last picture.

Congratulations!  You are almost done!

Assemble Bamboo Case

IMG_3567.JPG
IMG_3568.JPG
IMG_3569.JPG
IMG_3570.JPG
IMG_3571.JPG
IMG_3572.JPG
IMG_3573.JPG
IMG_3574.JPG
IMG_3575.JPG
b5.JPG
The bamboo case is attractive and easy to assemble.  Just follow the pictures and add the pieces in order.  Hand tightening the small nuts is sufficient.