Skip to content
/ s-des Public

An implementation of the educational cryptographic algorithm S-DES

License

Notifications You must be signed in to change notification settings

pfaivre/s-des

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s-des

An implementation of the educational cryptographic algorithm S-DES.

To whom is it intended?

To everyone who wants to understand the working of modern cryptographic algorithms.

How does it work?

S-DES will run through your message and distort each fragment of eight bits using the key you provided to it.

But first, it will need to generate two sub-keys (K1 and K2) because it cannot use directly your main key.

Subkeys generation

Then, with K1 and K2, it will be able to read your message and pass the pieces through some simple functions named IP, FK, SW and others.

Subkeys generation

After this, your message will be successfully encrypted.

For a complete explaination of the proccess, see the documentation.

About

An implementation of the educational cryptographic algorithm S-DES

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published