epinal / py-vigenere

Vigenere Cypher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

py-vigenere

Vigenere Cypher implementation in python 3.5

Example usage:

    >>> vig = VigenereCypher()
    >>> cypher = vig.encrypt('secret', 'this is a sample text')
    >>> print(cypher)
    'LLKJ BK C WTETNV MWBV'
    >>> plain_text = vig.decrypt('secret', cypher)
    >>> print(plain_text)
    'THIS IS A SAMPLE TEXT'
    

About

Vigenere Cypher

License:MIT License


Languages

Language:Python 100.0%