65.9K
CodeProject is changing. Read more.
Home

Vigenere Cipher ASCII Based Encoder

starIconstarIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIcon

2.88/5 (12 votes)

Feb 12, 2006

CPOL
viewsIcon

72162

downloadIcon

1811

ASCII based encoder. Clear, encoded and key text allows all printable characters

Sample Image - Encoder1739.jpg

Introduction

This program allows encode text using a key that can be a word or any combination of printable characters and even spaces.

This program encodes by addition of the ASCII code of the first character of the clear text and the first ASCII code of the key, the result turns over a sequence from 32 to 126 that corresponds to all printable keys of the ASCII code. Then the second character of the clear text is encoded with the second character of the key, and so on until all characters of the key are used, to start with the first character of the key again. The key is used repeatedly until all the clear text is encoded.