Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

simpleotp

Simple OTP encoder/decoder

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

Simple OTP encrypter/decrypter

Made for educational purpose. Simple One-Time Pad encryption tool. If you want one, you'd build it using Lazarus.

One Time Pad Cypher Tool

It can encrypt or decrypt digitally coded message using one time pad. You have to code your message before encryption (or after decryption) yourself (using good old straddling checkerboard, for example).

How it works

  1. Enter your one-time key at corresponding tab
  2. Enter your encoded text in "Encrypt/decrypt" tab
  3. Change encryption/decryption algorithm in "Edit" menu, if desired
  4. Click "Encrypt" to encrypt source text with entered key, or "Decrypt" to decrypt

Encryption algorithms

There are two possibilities: encrypt message using modular addition, and then decrypt using modular substraction, or encrypt using substraction, and decrypt using addition. The first one is default for this program (checked in Edit menu).

Menu

More in-depth info on one-time pad encryption here: http://users.telenet.be/d.rijmenants/en/onetimepad.htm