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

Case Preservation Issue in pycipher.Atbash Cipher #20

Open
x9xhack opened this issue Dec 29, 2024 · 0 comments
Open

Case Preservation Issue in pycipher.Atbash Cipher #20

x9xhack opened this issue Dec 29, 2024 · 0 comments

Comments

@x9xhack
Copy link

x9xhack commented Dec 29, 2024

Problem:
The pycipher.Atbash cipher does not preserve the case of the input text during encryption. When encrypting mixed-case strings, the output is always converted to uppercase, which may not be the desired behavior.

Steps to Reproduce:

Use the Atbash cipher on a string with mixed case, such as "zbCc".
Observe that the result is converted to uppercase, even though the input string contains both lowercase and uppercase characters.

Expected Behavior:
The Atbash cipher should preserve the case of the input text, meaning that lowercase letters should remain lowercase and uppercase letters should remain uppercase after encryption.

Actual Behavior:
The Atbash cipher converts all letters to uppercase, ignoring the case of the input text.

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