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)


 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Diffie-Hellman, Ciphers, and Hashes
Post: #1

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: http://primes.utm.edu/lists/small/
• A list of the first 10,000 prime numbers at: http://primes.utm.edu/lists/small/10000.txt.
• 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 http://projects-seminars.net/search.php wisely To Get More Information About A Seminar Or Project Topic
 


[-]
Quick Reply
Message
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.

[-]
Quick Reply
Message
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
  patient fall detection using hip and abdomen sensors Guest 1 0 Yesterday 09:36 AM
Last Post: jaseela123
  child tracking system using android phones srs ppt Guest 1 0 Yesterday 09:25 AM
Last Post: jaseela123
  concealed weapon detection using digital image processing ppt Guest 1 0 23-03-2017 10:08 AM
Last Post: jaseela123
  ppt on electrical power generation system using railway track slides Guest 1 0 22-03-2017 04:09 PM
Last Post: jaseela123
  aqua communication using modem ppt download Guest 1 0 22-03-2017 03:41 PM
Last Post: jaseela123
  matlab source code for image compression using dct Guest 1 0 21-03-2017 01:06 PM
Last Post: jaseela123
  pdf double acting hacksaw machine using scotch yoke mechanism Guest 3 0 21-03-2017 11:57 AM
Last Post: jaseela123
  ppt on double acting hacksaw machine by using scotch yoke mechanism Guest 1 0 21-03-2017 11:34 AM
Last Post: jaseela123
Thumbs Down image forgery detection using DCT Guest 2 0 15-03-2017 09:18 AM
Last Post: jaseela123
  ppt on artificial retina using thin film transistor technology Guest 1 0 13-03-2017 10:23 AM
Last Post: jaseela123
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

Options: