Do not display this message again
Close window
Frequency Analysis and the Kama Sutra Substitution Cipher - Maple Application Center
Contact Maplesoft
Request Quote
Products
Maple
Powerful math software that is easy to use
• Maple for Academic
• Maple for Students
• Maple Learn
• Maple Calculator App
• Maple for Industry and Government
• Maple Flow
• Maple for Individuals
Maple Add-Ons
• E-Books & Study Guides for Students
• Maple Toolboxes
• MapleNet
• Free Maple Player
MapleSim
Advanced System Level Modeling
• MapleSim
• MapleSim for Digital Twins
• MapleSim for Education
MapleSim Add-Ons
• Add-on Libraries and Connectors
• MapleSim Explorer
• MapleSim Insight
Systems Engineering
• MapleMBSE
Consulting Services
• Engineering Services
• Training
• Turnkey Solutions
Maple T.A. and Möbius
Looking for Maple T.A. or Möbius?
DigitalEd, a Maplesoft technology partner, now offers these products. Learn more.
Solutions
Education
• Mathematics Education
• Engineering Education
• High Schools & Two-Year Colleges
• Students
• Remote Learning Resources
Industries
Automotive and Aerospace
• Electric & Hybrid-Electric Vehicles
• Powertrain
• Vehicle Dynamics
• Heavy Mobile Machinery
• Aircraft Systems
• Space Systems
Robotics
• Robotics Research
• Motion Control/Mechatronics
Machine Design & Industrial Automation
• Machine Design
• Manufacturing
• Mining & Oil Production Equipment
• Web Handling
Other
• Power Industries
• Finance
• Medical Devices
• Life Sciences
Application Areas
• Power Systems Engineering
• Electrical Engineering Calculations
• Mechanical Engineering Calculations
• System Simulation & Analysis
• Virtual Commissioning
• Battery Modeling and Design
• Heat Transfer Modeling
• Dynamic Analysis of Mechanisms
• Calculation Management
• Model-Based Systems Engineering
• Model development for HIL
• Vibration Analysis & Attenuation
Purchase
Product Pricing
• Maple
• Maple Flow
• MapleSim
• Add-Ons and Connectors
• Request a Quote
Purchasing
• Purchase & Download Immediately
• Upgrade to the Latest Version
• Contact Sales
Institutional Student Licensing
• Virtualization
• Student Licensing & Distribution Options
Maplesoft Elite Maintenance (EMP)
• EMP Overview
• EMP FAQ
Support & Resources
Support
• Tech Support & Customer Service
• Frequently Asked Questions
• Product Documentation
• Download Product Updates
Product Training
• Student Help Center
• Online Product Training
• On-Site Training
Online Product Help
• Maple Online Help
• MapleSim Online Help
Webinars & Events
• Live Webinars
• Recorded Webinars
• Upcoming Events
Publications
• Technical Whitepapers
• E-Mail Newsletters
• Maple Books
• Math Matters
Content Hubs
• Teacher Resource Center
• Student Help Center
• Remote Learning Resources
Examples & Applications
• Maple Application Center
• MapleSim Model Gallery
• User Case Studies
• Exploring Engineering Fundamentals
• Teaching Concepts with Maple
Community
• MaplePrimes
• MapleCloud
• Maple Conference
Company
About Maplesoft
• Company Overview
• Management
• Customers
• Partnerships and OEM Opportunities
Media Center
• Media Releases
• User Case Studies
• Media Coverage
User Community
• MaplePrimes
• Maple Ambassador Program
• Maple Conference
Contact
• Global Contact Details
• Careers
Home
Products
Maple
Maple Add-Ons
Maple Learn
Maple Calculator App
MapleSim
MapleSim Add-Ons
System Engeneering
Consulting Services
Online Education Products
Solutions
Education
Industries
Application Areas
Purchase
Product Pricing
Purchasing
Institutional Student Licensing
Maplesoft Elite Maintenance (EMP)
Support & Resources
Support
Product Training
Online Product Help
Webinars & Events
Publications
Content Hubs
Examples & Applications
Community
Company
About Maplesoft
Media Center
User Community
Contact
Toggle navigation
Sign in
Register
Submit your work
Application Center
Applications
Frequency Analysis and the Kama Sutra Substitution Cipher
Frequency Analysis and the Kama Sutra Substitution Cipher
Author
:
Judith Koeller
5
Download
This Application runs in Maple.
Don't have Maple? No problem!
Try Maple free for 15 days!
In the 4th century BC, the Indian text "Kama Sutra" proposed a method of encrypting text. Each letter of the alphabet was paired with one other letter. A ciphertext was formed by replacing each letter in the plaintext with its paired letter. When this scheme is used in the English language, the number of possible keys is surprisingly high: around 7.9 * 10^12. An exhaustive attack on such a scheme would be unwieldly using a modern computer, and it was certainly infeasible at the time this scheme was suggested. The art of cryptanalysis (systematic techniques used to break ciphers) traces back to Arab Islamic society, from 750-900 AD. al Kindi proposed the technique of frequency analysis to break substitution ciphers like that proposed in the Kama Sutra text. Frequency analysis recognizes that in long blocks of text, certain letters tend to occur much more frequently than others. When a big enough sample text is used in a particular language, certain patterns occur predictably, for example in English text, the most common letters are E, T and N while Q and Z are used infrequently. Different languages have different typical frequency patterns. In this worksheet, letters of the English alphabet will be paired at random according to the Kama Sutra scheme. A block of text will be encrypted by swapping letters according to this pairing. The user can refer to the frequency patterns for the English language and the letter frequencies in the ciphertext to try to determine the letter pairings and hence receover the original plaintext. The Maplet uses the user's pairing of letters to guess at the plaintext, and tracks how many guesses have been made.
Application Details
Publish Date
:
August 30, 2005
Created In
:
Maple 10
Language
:
English
Share
Copy URL
Tweet
This app is not in any
Collections
Add to a Collection
You must be logged in to add to a collection
Tags
cryptography
More Like This
Differential Equations
Prof. Carl Madigan
7
engineering
cryptography
differential-equation
The SHA-3 Family of Cryptographic Hash Functions and Extendable-Output Functions
José Luis Gómez Pardo
1
Editors Choice
cryptography
The Advanced Encryption Standard and its modes of operation
José Luis Gómez Pardo
3
statistics
cryptography
statistics
Secure Symmetric-Key Block Cipher Based on Generalized Finite Fields
Czeslaw Koscielny
2
cryptography
RSA with maple
Ali Abu Oam
0
cryptography
Exploring the Modified IDEA Using the topicIDEA Package
Czeslaw Koscielny
0
cryptography
Elliptic Curve Cryptography
Pauline Hong
2
cryptography
User-Friendly ElGamal Public-Key Encryption Scheme
Czeslaw Koscielny
1
cryptography
Elliptic Curve Arithmetic over the Real Numbers
Judith Koeller
2
cryptography
number-theory
Mersenne Primes-Based Symmetric-Key Masquerade Block Cipher
Czeslaw Koscielny
0
cryptography
A Symmetric-Key Block Cipher Generating Cryptograms Containing Characters Belonging to the Definite Set
Czeslaw Koscielny
2
cryptography
Maple Tools for Preliminary Cryptanalysis
Czeslaw Koscielny
2
cryptography
image-processing
×
Create a Collection
Name:
Description (optional):
Collections
×
Collections are user-defined, publicly available groups of applications. Add applications to your own Collections, and share them with other Maple users.