JVCL Help:TJvCaesarCipher
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvCaesarCipher Class
[+] JvCipher.pas Classes
[+] TJvCaesarCipher Methods
Search in JVCL Help
Search in all projectsClass Hierarchy
TJvCustomCipher
TJvCaesarCipher
run\JvCipher.pas
Summary
Enables you to (de)cipher strings.
Pascal
run\JvCipher.pas
TJvCaesarCipher = class(TJvCustomCipher);
Description
- 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.
About
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