Important: Use custom search function to get better results from our thousands of pages

Use " " for compulsory search eg:"electronics seminar" , use -" " for filter something eg: "electronics seminar" -"/tag/" (used for exclude results from tag pages)

Ask More Info Of  A Seminar Ask More Info Of A Project Post Reply  Follow us on Twitter
15-05-2014, 04:27 PM
Post: #1
Using Diffie-Hellman, Ciphers, and Hashes

Using Diffie-Hellman, Ciphers, and Hashes

.pdf  Using Diffie-Hellman.pdf (Size: 561.17 KB / Downloads: 10)

Introduction: Sending Files Securely

A common issue when sending files over email is security. Say you want to email a sensitive file to somebody
else, but you don’t have any previously shared secret or code which will enable you to send it securely. The
tool you will develop for this assignment addresses this issue, allowing you to securely encrypt and send a
file to the other person without having any previously secure communication mechanism.
The fundamental steps in establishing a shared AES key and Initialization Vector (IV) is shown in
Figure 1.

What to do

Your job is to develop an application which will enable Alice and Bart to perform the above steps. To help
you get started, an empty version of the GUI shown below is provided on Moodle.
Let’s consider a sample run of the algorithm where p = 64601, g = 3, Alice chooses her password “Castor”
and Bart chooses his password as “Pollux”.

Testing Your Application

Your tool should be able to encrypt and decrypt both text and binary files. Managing binary files will require
you to use the BinaryWriter and BinaryReader stream management classes in C#. You can read more
about them in the online documentation.
To help you test your application, there are two encrypted files on the course web page. One is a text
file and one is a PDF (binary) file. They have been encrypted with the same keys that Alice and Bart used
in the above example (p = 64601, g = 3, Alice’s secret “Castor”, Bob’s secret “Pollux”). You may use them
to test your decryption routines.
Be sure to test your application with other example primes and primitive roots. Some useful links:
• Lists of prime numbers:
• A list of the first 10,000 prime numbers at:
• A helpful web site with a Java application to derive primitive roots of prime number is found at:

A Note on Modular Exponentiation

You will find that the standard data types in C# are not sufficient to calculate large modular exponents the
simple way (calculating g a and then calculating the modulus with p). You will end up with an overflow in
many cases. A more efficient, bit oriented algorithm exists (you can read about it online), but since we are
dealing with relatively small exponents (16 bits long) we can calculate modular exponents in a reasonable
amount of time recursively. A prepared function in C# to calculate recursive modular exponentiation is
given on the course web page. You may copy it into your application code and use

Please Use Search wisely To Get More Information About A Seminar Or Project Topic
Rating Using Diffie-Hellman, Ciphers, and Hashes Options
Share Using Diffie-Hellman, Ciphers, and Hashes To Your Friends :- Seminar Topics Bookmark
Post Reply 

Quick Reply
Type your reply to this message here.

Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Alcohol and drug abuse and its effect in industry, symptoms of alcohol and drug seminar projects maker 0 1,416 23-04-2014 12:30 PM
Last Post: seminar projects maker
Last Post: study tips
  Compare and Contrast OODBMSs and RDBMSs Assignment study tips 0 834 22-06-2013 11:49 AM
Last Post: study tips
Last Post: study tips
  Report on Financial Modelling Using Excel study tips 0 592 18-06-2013 02:39 PM
Last Post: study tips
This Page May Contain What is Using Diffie-Hellman, Ciphers, and Hashes And Latest Information/News About Using Diffie-Hellman, Ciphers, and Hashes,If Not ...Use Search to get more info about Using Diffie-Hellman, Ciphers, and Hashes Or Ask Here