Difference between revisions of "Cipher"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) |
||
Line 7: | Line 7: | ||
To ''encipher'' or ''[[encode]]'' is to convert information into cipher or code. | To ''encipher'' or ''[[encode]]'' is to convert information into cipher or code. | ||
− | In non-technical usage, a 'cipher' is the same thing as a 'code'; however, the concepts are distinct in cryptography. | + | == Cipher versus code == |
+ | |||
+ | In non-technical usage, a 'cipher' is the same thing as a 'code'; however, the concepts are distinct in [[cryptography]]. | ||
In [[classical cryptography]], ciphers were distinguished from [[codes]]. | In [[classical cryptography]], ciphers were distinguished from [[codes]]. | ||
− | Codes generally substitute different length strings of characters in the output, while ciphers generally substitute the same number of characters as are input. | + | Codes generally substitute different length strings of [[Character|characters]] in the [[Output|output]], while ciphers generally substitute the same number of characters as are [[input]]. |
There are exceptions and some cipher systems may use slightly more, or fewer, characters when output versus the number that were input. | There are exceptions and some cipher systems may use slightly more, or fewer, characters when output versus the number that were input. |
Revision as of 18:35, 17 February 2016
In cryptography, a cipher (or cypher) is an algorithm for performing encryption or decryption.
Description
A cipher uses an algorithm: a series of well-defined steps that can be followed as a procedure.
To encipher or encode is to convert information into cipher or code.
Cipher versus code
In non-technical usage, a 'cipher' is the same thing as a 'code'; however, the concepts are distinct in cryptography.
In classical cryptography, ciphers were distinguished from codes.
Codes generally substitute different length strings of characters in the output, while ciphers generally substitute the same number of characters as are input.
There are exceptions and some cipher systems may use slightly more, or fewer, characters when output versus the number that were input.
See also
External links
- Cipher @ Wikipedia