Skip to content
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

ADFGVX ignores numbers #6

Open
alpire opened this issue Aug 19, 2016 · 0 comments
Open

ADFGVX ignores numbers #6

alpire opened this issue Aug 19, 2016 · 0 comments

Comments

@alpire
Copy link

alpire commented Aug 19, 2016

Testcase:

In [1]: from pycipher import ADFGVX

In [2]: ADFGVX().encipher('1')                                                                                                                                                                            
Out[2]: ''

I would expect the ciphertext to not be empty, as ADFGVX supports numbers.

I believe the issue was introduced here and here. Without the filter argument, remove_punctuation filters out any numbers.

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

No branches or pull requests

1 participant