Skip to content

UOSCS/DES

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DES

The main function in main.c has a plaintext variable and a key variable.

int main(void)
{
    bits_64 plaintext = 0x0123456789ABCDEF;
    bits_64 key = 0x85E813540F0AB405;
    ...
}

Put the values you want in the variables above. However, the length must be 64 bits.


In the directory where Makefile is located,

$ make

Finally, let's run the executable file created from the Makefile.

$ ./DES

Output Example:

Cipher Text: E5A951F59B3160C0

Releases

No releases published

Packages

No packages published