Rabu, 11 April 2012

Simple ChryptoGraphy !

Cryptography is science or art to scramble messages. people who do cryptography called kriptograper and crypto system is a system to encrypt and descrypt messaging system.
A good crypto system:
1. ciphertext should look random
2. space key to be a large
3. key is more important than the algorithm



Explanation
Plaintext : the actual messages (messages that have not been at random)
Encryption Algorithm : The algorithm used to scramble messages
Ciphertext: The message is encrypted
Descryption Algorithm : The algorithm used to restore a scrambled message

Key: the key used to encrypt messages and descriptions
Kinds of Cryptography:
A. Symmetric Cryptography
Which uses the same cryptographic keys during encryption and message descriptions (only have one key)
2. Asymmetric Cryptography
Use different cryptographic keys during the encryption and description messages (public key to encrypt messages while the private key to descrypt message)

Asymmetric cryptographic algorithm more complicated than asymmetric cryptographic algorithm, but its will be more use secure.

Basic techniques of cryptography:
A. ASSOCIATE / Caesar Cipher
Step algorithm: making a substitution table (provided free) the random table created will be more difficult to solve.
Example:
Initial table : ABCDEFGHIJKLMNOPQRSTUVWXYZ
Table substitution: KLMNOPQRSTUVWXYZABCDEFGHIJ

Plaintext : Knowledge Management
Ciphertext: Uxygvonqo wkxktowoxd

A SAMPLE PROGRAM USING C + + PROGRAMMING



Initial View Program



2. Blocking

Encryption techniques to divide the plaintext into blocks of some of the characters to be encrypted independently.

0 comments:

Posting Komentar

 
;