Skip to content

XOR cipher algorithm #229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 22, 2017
Merged

Conversation

christianbender
Copy link

This class implements the XOR-cipher algorithm and provides some useful methods for encrypting and decrypting strings and files.

You will find detailed docstrings in each method.

Overview about methods

  • encrypt : list of char
  • decrypt : list of char
  • encrypt_string : str
  • decrypt_string : str
  • encrypt_file : boolean
  • decrypt_file : boolean

a class with simple cipher algorithm that uses bitwise XOR
@harshildarji harshildarji merged commit ecdfd99 into TheAlgorithms:master Dec 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants