Code and decode string
Project description
This module contain five functions :
generate_key() - return string
code(text to code in str, key return by the generate_key function) - return string
decode(text return by the code function, key return by the generate_key function) - return string
The indecode module can trigger the following errors :
TypeError : one of the arguments is not a string
CodeError : one of the caracters in the text argument is not encodable
DecodeError : one of the caracters in the text argument is not decodable
KeyElementError : one of the caracters in the key argument must not be in the key
KeyLengthError : the key is not of the expected length.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.