in this project, I have implemented some encryption algorithms. and make Command Line interface (CLI) for them.
git clone https://github.com/SalahTawafsha/encreption-algorithms.git
so that user can choose the algorithm he wants to use and then enter the text he wants to encrypt or decrypt.
Advanced Encryption Standard (AES) is a symmetric
encryption algorithm. it is a block cipher that encrypts 128-bit blocks of data. The key size can be 128, 192, or 256
bits.
When select AES. the user will be asked to enter if he wants to encrypt or decrypt the text.
in encryption, the user will be asked to enter the 32-byte key as HEX and the text he wants to encrypt, then he will get
the
ciphertext.
in decryption, the user will be asked to enter the 32-byte key as HEX and the ciphertext he wants to decrypt, then he
will get
the original text.
Rivest-Shamir-Adleman (RSA) is an asymmetric encryption
algorithm. it is a block cipher that encrypts 128-bit blocks of data. The key size can be 128, 192, or 256 bits.
When select RSA. the user will be asked to enter if he wants to encrypt or decrypt the text.
in encryption, the user will be asked to enter the plaintext and system will generate the public and private keys, then
he will get the keys with ciphertext as hex.
in decryption, the user will be asked to enter the keys and the ciphertext he wants to decrypt, then he will get the
original text.
Columnar Cipher is a transposition cipher. and I updated
it to can use any characters in the key.
When select Columnar Cipher. the user will be asked to enter if he wants to encrypt or decrypt the text.
in encryption, the user will be asked to enter the key and the text he wants to encrypt, then he will get the
ciphertext.
Note: the key is string of any characters but must be unique characters.
in decryption, the user will be asked to enter the key and the ciphertext he wants to decrypt, then he will get the
original text.
Note: the key is string of any characters but must be unique characters.
PlayFair Cipher is a substitution cipher. and I updated
it to be 16 X 16 matrix and can be used for any kind of characters.
When select PlayFair Cipher. the user will be asked to enter if he wants to encrypt or decrypt the text.
In encryption, the user will be asked to enter the text he wants to encrypt, then he will get the ciphertext.
In decryption, the user will be asked to enter the ciphertext he wants to decrypt, then he will get the original text.