Skip to content

Opening book details…

About this document

Brute Force Caesar Cipher Decryption by hdtrs is a document available to read on EtoBox.

This C++ program implements a brute force attack on the Caesar cipher. It contains functions to encrypt a string using a key by shifting each character by that number of positions. The decrypt function tries every possible key from 0-25 to decrypt the cipher text and display the resulting plain text. The main function gets a text and key from the user, encrypts it, and calls the decrypt function to crack the cipher without knowing the key.

Author
hdtrs
Language
EN