You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new class Cipherer with 2 new functions: cipher(number, key, bits=16) and s_cipher(string, key, bits=16) - for simplifying using simple cipher algorithms in your python projects. Cipherer works using xor (number ^ key = answer), but this cipherer uses numbers with fixed amount of bits. Then we need to introduce new class with auto overflow fixer with fixed amount of bits (described in #60). Because of that we need to fix #60 and then this issue.
Use Case (optional)
cipherer(81, 75, bits=8) # number, key, number of bits (optional)str_cipherer('hello', 75, bits=8) # string, key, number of bits (optional)# You can realise decipherer using cipherer.
Description of new feature
Add new class
Cipherer
with 2 new functions:cipher(number, key, bits=16)
ands_cipher(string, key, bits=16)
- for simplifying using simple cipher algorithms in your python projects. Cipherer works using xor (number ^ key = answer), but this cipherer uses numbers with fixed amount of bits. Then we need to introduce new class with auto overflow fixer with fixed amount of bits (described in #60). Because of that we need to fix #60 and then this issue.Use Case
(optional)
Suggest solution
(optional)
The text was updated successfully, but these errors were encountered: