Skip to content

AES (Advanced Encryption Standard) - Block cipher, encrypts data in 128-bit blocks - Key sizes: 128, 192, and 256 bits - Secure and efficient RC4 (Rivest Cipher 4) - Stream cipher, encrypts data in a continuous stream - Variable key size (40-2048 bits) - Fast, but has known security vulnerabilities

Notifications You must be signed in to change notification settings

ablt24/Implementation-of-Symmetric-cipher-algorithm-AES-and-RC4-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Implementation of Symmetric Cipher Algorithms: AES and RC4

πŸ” AES (Advanced Encryption Standard)

  • Block cipher: encrypts data in 128-bit blocks
  • Key sizes: 128, 192, and 256 bits
  • Secure and efficient for various applications

πŸ” RC4 (Rivest Cipher 4)

  • Stream cipher: encrypts data in a continuous stream
  • Variable key size (40–2048 bits)
  • Fast but has known security vulnerabilities

AES and RC4 Encryption in Python

This repository provides simple Python implementations of:

  1. AES (ECB mode) using pycryptodome
  2. RC4 stream cipher implemented from scratch

Features

  • AES encryption and decryption with padding
  • RC4 encryption and decryption using KSA and PRGA

About

AES (Advanced Encryption Standard) - Block cipher, encrypts data in 128-bit blocks - Key sizes: 128, 192, and 256 bits - Secure and efficient RC4 (Rivest Cipher 4) - Stream cipher, encrypts data in a continuous stream - Variable key size (40-2048 bits) - Fast, but has known security vulnerabilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages