Introduction: | |
|---|---|
|
OTP Scrambler is an implementation of the One Time Pad method
of private key encryption. It is intended to be used for pre-arranged,
secure communications between two people over insecure networks.
OTP Scrambler is distributed as shareware. The unregistered version is limited to 1Mb key files, but is otherwise fully functional. | How to Register |
| |
| The one time pad method is one of the simplest encryption methods and yet it is more secure than any other. The method was invented in 1917 by Major Joseph Mauborgne and AT&T's Gilbert Vernam. | See Applied Crytography |
|
To use the method in its simplest form, the sender and receiver must each have identical paper pads printed with a large set of truly random, nonrepeating, key letters. The sender encodes each letter of her message using one letter from her pad. She then destroys the used part of the pad. The receiver decodes each letter of the encoded message using one letter from his identical pad. He then destroys the used letters on his pad. If the keys are truly random, the pads are kept secret, no copies are made, and the keys are used only one time each, this is the most secure encryption method known. The hotline between the United States and the Soviet Union was rumoured to be a one-time pad. | |
|
If the keys are not truly random, or are used more than once, the method is not secure: Pseudo random numbers can be predicted, and statistical cryptanalysis methods can decode even this method if keys are reused. | How Secure is OTP? |
| OTP Scrambler requires a soundcard |
|
The pad files must be exchanged securely. Preferably physical media is exchanged privately and in person. Floppy disks, ZIP or Jazz disks, or any erasable removable media could be used. OTP Scrambler permanently erases used portions of its encryption and decryption "pad" files as messages are sent and received. | |
| |
|
Let's assume that you wish to communicate privately with someone named "James" who travels widely but returns to the office every few months.
The main OTP Scrambler dialog looks like this:
Your first step is to create a pair of random key pads. To do this
you use the
| |
|
If the "Audio Standard Deviation" is less than 50 or so, you may need to adjust your sound card settings, or use an external white noise generator plugged into the aux port. | Adjust your SoundCard |
|
When you click the Later you will give this disk to James. With it he will be able decrypt up to 1 megabyte of messages that you send him. After that he will have to return to the office for another disk. | Why you should use removable media |
|
If you want to receive secure messages from James when
he is traveling, then you will have to make another pair
of random key pads. This time use the | .1pe and .1pd files |
|
When you wish to send a file to James, Select an encryption "pad" file (.1pe extension) using the select button in the "Current Encryption Pad" section. Next, click the button next to the "File" field. Choose the file you wish to send to James. The file may be of any type, as long as it is no bigger than the "Bytes Left" displayed for your selected pad. Click the "Encrypt" button. When prompted, save the encrypted file somewhere on your hard drive. Use you E-Mail program to attach the encrypted file and send it to James. Only James, with his matching ".1pd" file can decrypt it. Even you cannot, as the portion of your pad used to encrypt the file, has been wiped. It is vital not to make extra copies of "pad" files. Even files you delete can be recovered. If you must destroy a copy of a ".1pe" or ".1pd" file use the Destroy buttons in OTP Scrambler. OTP Scrambler first writes zeros into a file, flushes its buffers, and only then asks the operating system to unlink it. This process leaves no recoverable traces. |
Appendix |
|---|
Getting Random Numbers from your Sound Card: |
|
Most PC sound cards have analog circuits in them. The thermal motion of the atoms of resistors and transistors in these circuits produce random changes, or noise, in the current flowing through them. This noise is picked up as a background hissing sound when you record a .WAV file with your sound card software. The best sound cards have lower noise because they do all mixing and tone control functions by processing signals digitally rather than using cheaper (and noisier) analog circuits. For best results you should use the cheapest possible sound card with OTP Scrambler, as these tend to be noisier. Good results can be had with cheap Creative Labs Vibra-16 SoundBlaster cards or, even better, cheap clones of these. You can adjust your sound card for maximum noise: You need to enable all recording inputs, as each contributes some noise, and crank all the mix levels to the top. Enabling the automatic gain control on the microphone input is also very effective. |
|
Here's an example of how you would adjust your sound card for OTP Scrambler on a typical Win95 system: |
1)
Double click on the speaker icon
you'll see on the right end of your task bar.
|
![]() A "Play Control" window should open. 2)Double click on "Properties" and select "Recording" in the "Properties" window. |
|
Your record control panel will look something like this: 3)Make sure all the "Select" boxes are checked, and all the sliders are at the top. |
|
4)Double click on "Advanced" under the "Microphone" slider. and check the "Automatic Gain Control" box. If you create a large pad file and watch the "Audio Noise Standard Deviation" while changing the sliders, you will be able to see which have the most effect. Usually the microphone slider has the most effect because microphone inputs have higher gain and generate more noise than the others. If your sound card does not produce enough noise, you can plug a white noise generator into "line in", or just connect a microphone and boil a steam kettle nearby. If you do purchase a white noise generator though, make sure that it is entirely analog: Some modern audio test gear may generate white noise digitally. This noise will have all the statistical properties of white noise, but will actually be pseudo-random and therefore predictable. |
Pad FilesOTP Scrambler generates random number key pad files with extension ".1pe" for encryption and ".1pd" for decryption. The file formats are identical. The extensions are different just to remind you which files are used for encryption and which for decryption. You should not use the same pad for both encryption and decryption: If you decide to encode a message at the same time as James you will each use the same numbers to encode different messages. Since the used keys are destroyed, both messages would be lost. Worse, both messages might be at least partially recoverable by a third party using statistical cryptanalysis methods.
Floppy disks are smaller than computers and can perhaps be more easily locked up until needed. Furthermore, files on a computer hard drive may be moved around, backed up to tape, or even sent over a network during the normal use of a typical office computer. Unless you know where your key files are and who has access to them, you cannot be sure your messages are secure. The best procedure is to allow OTP Scrambler to create the pad files directly onto removable media, and make no other copies. If you are on a network make sure that your removable media is not shared. If you are really paranoid, disconnect the network cable until your file is encrypted or decrypted and the media is removed, and any clear text erased. |
OTP Scrambler is distributed as shareware. The unregistered version
is limited to 1Mb random key "pad" files.
|
Bibliography:
|