sathoro / php-xor-cipher

A XOR cipher and crack written in PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP-XOR-Cipher

The XORCipher class contains three primary methods: cipher(), plaintext(), and crack():

  • cipher($plaintext, $key) will return ciphertext generated from the plaintext and key.

  • plaintext($cipher, $key) will return the original text given the ciphertext and a key.

  • crack($cipher, $keysize) will attempt to crack the ciphertext using frequency analysis.

About

A XOR cipher and crack written in PHP


Languages

Language:PHP 100.0%