2017 © Pedro Peláez
 

library caesarcipher

A PHP package for encoding, decoding and cracking the Caesar shift cipher

image

caesarcipher/caesarcipher

A PHP package for encoding, decoding and cracking the Caesar shift cipher

  • Monday, October 6, 2014
  • by rickyrobinett
  • Repository
  • 1 Watchers
  • 3 Stars
  • 63 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 40 % Grown

The README.md

Caesar Cipher

A PHP Port of Rob Spectre's Python Caesar Cipher library. Encode, decode and crack messages with Caesar Shift Cipher., (*1)

Build Status Coverage Status Total Downloads, (*2)

Installation

You can install this library using composer, (*3)

composer require caesarcipher/caesarcipher

Usage

Encoding a message with an offset:, (*4)

$cipher = new CaesarCipher();
$message = "Brooklyn";
$cipher->encode($message,5);

Decoding a ciphertext with an offset:, (*5)

$cipher = new CaesarCipher();
$message = "Uxjmjp";
$cipher->decode($message,5);

Cracking a ciphertext without knowing the offset:, (*6)

$cipher = new CaesarCipher();
$cipher_text = "Bj qfhp ymj rtynts yt rtaj yt ymj sjb gjfy!";
$crack_text = $cipher->crack($cipher_text);

The Versions

06/10 2014

dev-master

9999999-dev https://github.com/rickyrobinett/CaesarCipher

A PHP package for encoding, decoding and cracking the Caesar shift cipher

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

cipher caesar cipher

06/10 2014

1.0.0

1.0.0.0 https://github.com/rickyrobinett/CaesarCipher

A PHP package for encoding, decoding and cracking the Caesar shift cipher

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

cipher caesar cipher