An encryption method
Project description
This packages takes an input of plain text and converts into n-bit binary, and represents each digital logic high or low as the capitalised charater of the word of choice. For example, the text <’A’> is represented as 01000001 in 8 bit binary, given the encryption word is <’beans’> the final encrypted text would look as follows: bEansbeA.
The function is named ‘Beanory’ and takes a miniumum of 2 arguments:
plain_text <str>: the string that will be encrypted word <str>: the word that will replaces the 0s and 1s
There are two other non-postional arguments:
encrypt <bool> default - <True>: True toggles encrytpion, False toggles decryption bit_length <int> default - <8> : bit length of each byte
Change Log
0.0.1 (9/08/2022)
First Release
0.0.2 (9/08/2022)
Mistake fix
0.0.3 (10/08/2022)
Alerts user that encryption keywords with spaces cannot be used
0.0.4 (10/08/2022)
Bug fix
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.