Encryption in C++

Computer Science | Artificial Intelligence | Computational Biology | Chess | Blender

Encryption in C++

I have made encryptions in Python but the ones in C++, are fabulous.

Below are the projects.

Encryption Program

#include <iostream>

int main() {
    std::string name;
    std::cout << "Enter your name: ";
    std::getline(std::cin >> std::ws, name);
    
    // Displaying the ASCII values of the characters in the name
    for(int i = 0;i < name.length(); i++){
        std::cout << static_cast<int>(name[i]);
    }
    std::cout << std::endl;
    return 0;
}