GithubHelp home page GithubHelp logo

mrvigenere's Introduction

Mr. Vigenère

Implementation of the Vigenère cipher in Go.

About

As described at Wikipedia:

The Vigenère cipher is a method of encrypting alphabetic text by using a series of interwoven Caesar ciphers, based on the letters of a keyword. It employs a form of polyalphabetic substitution

Example

$ go run main.go --usage
2019/10/02 09:15:10 usage args: {{--encode|--decode} key message} | --printtable | --usage
$
$ go run main.go --encode LEMON ATTACKATDAWN
LXFOPVEFRNHR
$ go run main.go --decode LEMON LXFOPVEFRNHR
ATTACKATDAWN
$
$ go run main.go --printtable
 |A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
-----------------------------------------------------
A|A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
B|B C D E F G H I J K L M N O P Q R S T U V W X Y Z A 
C|C D E F G H I J K L M N O P Q R S T U V W X Y Z A B 
D|D E F G H I J K L M N O P Q R S T U V W X Y Z A B C 
E|E F G H I J K L M N O P Q R S T U V W X Y Z A B C D 
F|F G H I J K L M N O P Q R S T U V W X Y Z A B C D E 
G|G H I J K L M N O P Q R S T U V W X Y Z A B C D E F 
H|H I J K L M N O P Q R S T U V W X Y Z A B C D E F G 
I|I J K L M N O P Q R S T U V W X Y Z A B C D E F G H 
J|J K L M N O P Q R S T U V W X Y Z A B C D E F G H I 
K|K L M N O P Q R S T U V W X Y Z A B C D E F G H I J 
L|L M N O P Q R S T U V W X Y Z A B C D E F G H I J K 
M|M N O P Q R S T U V W X Y Z A B C D E F G H I J K L 
N|N O P Q R S T U V W X Y Z A B C D E F G H I J K L M 
O|O P Q R S T U V W X Y Z A B C D E F G H I J K L M N 
P|P Q R S T U V W X Y Z A B C D E F G H I J K L M N O 
Q|Q R S T U V W X Y Z A B C D E F G H I J K L M N O P 
R|R S T U V W X Y Z A B C D E F G H I J K L M N O P Q 
S|S T U V W X Y Z A B C D E F G H I J K L M N O P Q R 
T|T U V W X Y Z A B C D E F G H I J K L M N O P Q R S 
U|U V W X Y Z A B C D E F G H I J K L M N O P Q R S T 
V|V W X Y Z A B C D E F G H I J K L M N O P Q R S T U 
W|W X Y Z A B C D E F G H I J K L M N O P Q R S T U V 
X|X Y Z A B C D E F G H I J K L M N O P Q R S T U V W 
Y|Y Z A B C D E F G H I J K L M N O P Q R S T U V W X 
Z|Z A B C D E F G H I J K L M N O P Q R S T U V W X Y 

mrvigenere's People

Contributors

derek121 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.