program in c to implement s des algorithm
#1

S-DES Algorithm:-

Encryption:- Encryption algorithm takes an 8-bit block of plaintext and 10-bit key as input and produce an 8-bit block of ciphertext as output.
1. Encryption algorithm involves five functions:
1) an initial permutation function (IP)
2) a complex function (fk) which involves both substitution and permutation
3) a simple permutation function (SW) that switches two halves of data
4) the function f again
5) a permutation function that is the inverse of the initial permutation(IP-1).
2. The function fk takes as input as input data passing through the encryption algorithm and an 8-bit subkeys.
3. Produced ciphertext will be
Ciphertext = IP-1(fk2(SW(fk1(IP(plaintext)))))

Key Generation:- A 10 bit key from which two 8 bit subkeys are generated.
1. The key is first subjected to permutation (P10).
2. Then shift operation is performed.
3. Output of the shift operation then passes through a permutation that produces an 8 bit output(P8) for the first subkey (K1).
4. The output of the shift operation also feeds into another shift and another of P8 to produce the second subkey(K2).

Decryption :- Decryption is just reverse process of encryption.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: how to implement dijkstra s algorithm in simulation, implement genetic algorithm using omnet**management system project, implement genetic algorithm using omnet, c program to implement des algorithm, program in java to implement des algorithm, write a c program to implement des algorithm, java or c program for implement des algorithm logic,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  program code of solar tracking system using 8051 microcontroller 6 23,379 03-05-2018, 09:30 PM
Last Post: Guest
  booths algorithm multiplication 8085 4 2,500 11-05-2017, 11:25 AM
Last Post: jaseela123d
  code for deduplication using genetic algorithm 1 908 12-04-2017, 03:42 PM
Last Post: jaseela123d
Information implementing any algorithm for resource provisioning in cloudsim 1 888 12-04-2017, 01:14 PM
Last Post: jaseela123d
  load balancing algorithm using cloudsim java code 1 1,027 11-04-2017, 12:54 PM
Last Post: jaseela123d
  brain mri segmentation using watershed algorithm ppt 1 914 07-04-2017, 02:44 PM
Last Post: jaseela123d
  source code for digital signature with rsa encryption algorithm 1 864 07-04-2017, 12:45 PM
Last Post: jaseela123d
  source code for apriori algorithm in asp net 1 765 05-04-2017, 10:58 AM
Last Post: jaseela123d
  quine mccluskey algorithm implementation 1 719 31-03-2017, 03:07 PM
Last Post: jaseela123d
Smile c deduplication algorithm code 1 808 29-03-2017, 03:49 PM
Last Post: jaseela123d

Forum Jump: