Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fe5f179

Browse files
Readme Updated
1 parent 9938fb1 commit fe5f179

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

‎README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
# Parallelization-of-DES-Algorithm-Using-Open-MP
1+
# Parallelization-of-DES-Algorithm-Using-Open-MP
2+
3+
## 1. Parallel Implementation of DES Algorithm
4+
For the parallel Implementation of DES Algorithm, plain text is read from the plaintext.txt file and stored in a string. The string is divided into strings with length=8 each and stored in string array. <tbd>
5+
6+
### Why length=8 is taken for splitting the string?
7+
The ASCII value is taken into consideration and an alphabet corresponds to 8 bit binary when ASCII is taken into consideration.
8+
9+
<contd..>
10+
Then, the divided strings stored in arrays are parallely encrypted and decrypted. Vectors are also used for making the process easy.
11+
12+
## 2. S Box Parallelism
13+
S box is separately parallelized and the implementation code is available in Codes folder. S Box parallelism consumed more time than Technique 1. This might be due to thread overhead.
14+
15+
## 3. Nested Parallelism
16+
For Nested Parallelism, Technique 1 and 2 are combined. Nested Parallelism also consumed more time than technique 1. This also might be due to thread overhead.
17+
18+
## 4. Serial Implementation of DES Algorithm
19+
The serial implementation of DES Algorithm is also done and the code is available in Codes folder of the repository.
20+
21+
## Note: Don't forget to create plaintext.txt file and the text to be encrypted and decrypted should be there inside the file. Also, don't forget to download matrices.h and numberConversions.h header files.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /