JVCL Help:TJvCaesarCipher

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvCustomCipher
TJvCaesarCipher
run\JvCipher.pas


Summary

Enables you to (de)cipher strings.

run\JvCipher.pas


Pascal

 run\JvCipher.pas
 TJvCaesarCipher = class(TJvCustomCipher);


Description

  1. JVCLInfo

TJvCaesarCipher is a component to (de)cipher strings or series of bytes using "Caesar Cipher", one of he simplest forms of substitution cipher. The method is named after Julius Ceasar who - as is said

  • used this method to communicate with his army. The ciphering is usually done by substituting eachletter in a message by a letter that is on a fixed distance in the alphabet. TJvCaesarCipher uses the whole character set (256 characters) for ciphering strings or series of bytes. This makes it possible to cipher any series of bytes (not necessarily readable strings). When used with strings it may result in strings that do not even look like strings anymore.

Caesar Cipher is not a safe method to cipher text. When used with strings it is easy to crack.
The Key property must represent a number. If it does not, the value 13 will be used.

run\JvCipher.pas


About

Navigation

run\JvCipher.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page