Skip to content

Commit 9736133

Browse files
committed
Create encryption.h
1 parent 90a3ee3 commit 9736133

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

encryption.h

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#include <iostream> // Allows input output operations
2+
#include <iomanip>
3+
#include <math.h>
4+
#include <cstdio>
5+
6+
#include "matrix.h"
7+
8+
/*******************************************************************************
9+
* Function Name : array_map
10+
* Description : Maps plain_text_zero_padded to mapped_array using mapping array
11+
*******************************************************************************/
12+
13+
14+
void array_map(char mapped_array[ARRAY_SIZE], char plain_text_zero_padded[ARRAY_SIZE]);
15+
16+
/*******************************************************************************
17+
* Function Name : keygen
18+
* Description : Generates the Key file to be used for encryption
19+
*******************************************************************************/
20+
21+
void keygen(float key[N][N], int marker);
22+

0 commit comments

Comments
 (0)