2017 © Pedro Peláez
 

library cipher

Caesar cipher and others

image

def/cipher

Caesar cipher and others

  • Monday, August 29, 2016
  • by andrew-kamenchuk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

def-cipher

Build Status Latest Stable Vesrion, (*1)

use def\Cipher\CaesarCipher;
use def\Cipher\Alphabet\EnglishAlphabet;

$rot13 = new CaesarCipher(new EnglishAlphabet, 13);

print $rot13->encode("Hello, world\n");

or, (*2)

use def\Cipher\VigenereCipher;
use def\Cipher\Alphabet\EnglishAlphabet;

$cipher = new VigenereCipher(new EnglishAlphabet, "keyword");

print $cipher->encode("Hello, world\n");

The Versions

29/08 2016

dev-master

9999999-dev https://github.com/andrew-kamenchuk/def-cipher

Caesar cipher and others

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar andrew-kamenchuk

cipher caesar cipher linear cipher