Difference between revisions of "Cipher"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(etc)
 
Line 1: Line 1:
 
In [[cryptography]], a '''cipher''' (or '''cypher''') is an [[algorithm]] for performing [[encryption]] or [[decryption]].
 
In [[cryptography]], a '''cipher''' (or '''cypher''') is an [[algorithm]] for performing [[encryption]] or [[decryption]].
  
A cipher uses a series of well-defined steps that can be followed as a procedure.
+
== Description ==
  
To encipher or encode is to convert information into cipher or code.
+
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.
  
 
In non-technical usage, a 'cipher' is the same thing as a 'code'; however, the concepts are distinct in cryptography.  
 
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 characters in the output, while ciphers generally substitute the same number of characters as are input.
Line 15: Line 17:
 
== See also ==
 
== See also ==
  
 +
* [[Algorithm]]
 
* [[Ciphertext]]
 
* [[Ciphertext]]
 
* [[Cryptography]]
 
* [[Cryptography]]
 +
* [[Encode]]
 
* [[Encryption]]
 
* [[Encryption]]
 
* [[Decryption]]
 
* [[Decryption]]

Revision as of 16:45, 7 September 2015

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.

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