Skip to content

Python implementation of Bit Flipping attack on AES-CBC.

License

Notifications You must be signed in to change notification settings

thewhiteninja/bit-flipping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bit Flipping attack (AES-CBC)


Python implementation of Bit Flipping attack on AES-CBC.

Example

TEST - AES-CBC - Bit Flipping Attack

############################ Encryption AES-CBC-128 ############################

Cleartext       : name=jcconvenant;photo=picture.jpg;admin=false;colour=red; (len=58)
Ciphertext      : c26a5697689463d662f540e55e2a1ecef9c5df20133dfe49d6d3c369679a95ff4f4c5a490f530b2a2f25db40da64f1e9302724ce61b9a435e23f4d600252a143

################################# BitFlipping #################################

New ciphertext  : c26a5697689463d662f540e55e2a1ecef9c5df20133dfe49d6c1d07071c495ff4f4c5a490f530b2a2f25db40da64f1e9302724ce61b9a435e23f4d600252a143

################################## Decryption ##################################

Decrypted       : ¶ä╚°  h8ì│►Nƒz│Ioé¤ßkü2KÀQiý4I@pg;admin=true;;colour=red;

##################################### Test #####################################

Test OK         : True

About

Python implementation of Bit Flipping attack on AES-CBC.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages