Encryption with Irrational Numbers and the One-Time Pad

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

In this Demonstration, the initial bits of an irrational number are used as a one-time pad for the encryption of a sentence. The resulting digits are shifted to the left and XOR-ed with the plain text to the length specified to create the cipher text.

[more]

The reverse process is used to decrypt by again generating the irrational number from the two primes, performing the shift left of the number bits, and XOR-ing with the cipher text for the length of that text.

The one-time pad is the shared secret key used to encrypt and decrypt the plain text. If the one-time pad is discovered, the message can be decrypted.

[less]

Contributed by: John Cicilio (March 2011)
Open content licensed under CC BY-NC-SA


Snapshots


Details

detailSectionParagraph


Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send