Skip to content

Kingcitaldo125/ROT13

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROT13

Description

From Wikipedia: ROT13 ("rotate by 13 places", sometimes hyphenated ROT-13) is a simple letter substitution cipher that replaces a letter with the 13th letter after it in the alphabet. ROT13 is a special case of the Caesar cipher which was developed in ancient Rome.

This repo seeks to retain different programming language implementations of that cypher.

Languages Supported

The following languages are currently being supported:

  • C++(C++ 11)
  • Python(Python 3)

Usage

C++

Simply run the main.cpp source file though a compiler that is C++11 compliant, then run the executable. E.x:

Linux

g++ --std=c++11 -o out main.cpp
./out

Windows

I had used MSVC++ (Visual Studio 2017) to compile the source. I have not tried compiling using MinGW. For more information on Visual Studio, click this link.

Python

Simply open a terminal/command prompt window, and type the following:

python main.py this is a test string

The output should appear like the following:

Result: guvf vf n grfg fgevat
Original: this is a test string

License

See the LICENSE file for details

About

ROT13 substitution cypher

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published