/Crypto

Cryptography codes.

Primary LanguagePython

Cryptography


Classic Cyphers

  • Rot13 Simple encryption method. It shifts each character of the clear text string 13 positions forward in the alphabet.

  • Cesar Method in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet.

  • Decoder Cesar Cypher Brute force attack (trying all possible shifts and determining which one works).

  • Vigenère Vigenere cipher is a poly-alphabetic substitution system that use a key and a double-entry table.

  • Frequency Analysis Is the study of the frequency of letters or groups of letters in a ciphertext.

  • Vernam Is, in theory, a perfect cipher. Instead of a single key, each plaintext character is encrypted using its own key. This key — or key stream — is randomly generated or is taken from a one-time pad, e.g. a page of a book. The key must be equal in length to the plaintext message. To use the Vernam cipher, you will need to use an XOR operation.