NAME

Crypt::Role::GreekAlphabet - twenty-four letter Greek alphabet for classic cryptography

DESCRIPTION

This role provides a twenty-four letter alphabet for use in classic cryptography. The letters are all uppercase.

Object Methods

alphabet

Returns the alphabet as an arrayref of letters.

preprocess($str)

Perform pre-encipher processing on a string. The string is uppercased. Common Unicode codepoints corresponding to Greek letters with diacritics are replaced with the closest match from the alphabet.

Punctuation characters, spaces, etc are not removed from the string. It is the choice of the cipher whether to, say, pass them through unchanged, or strip them from the ciphertext.

BUGS

Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Crypt-Polybius.

SEE ALSO

Crypt::Polybius::Greek.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE

This software is copyright (c) 2014 by Toby Inkster.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.