Skip to content

Encrypt and Decrypt wrappers for strings#2

Open
nickboucher wants to merge 1 commit intomasterfrom
encrypt_string
Open

Encrypt and Decrypt wrappers for strings#2
nickboucher wants to merge 1 commit intomasterfrom
encrypt_string

Conversation

@nickboucher
Copy link
Member

Per #1

@nickboucher nickboucher added the enhancement New feature or request label Jun 21, 2019
@nickboucher nickboucher requested a review from swansonk14 June 21, 2019 00:13
@nickboucher
Copy link
Member Author

@swansonk14 please let me know if you see any issues or have suggestions before I merge :)

Copy link

@NCGThompson NCGThompson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"using its ASCCII values" isn't technically correct, because old() accommodates unicode characters. (also "its" is misspelled.)

return [self.encrypt(m) for m in m_list]

def encrypt_string(self, m: str) -> List[EncryptedNumber]:
"""Encrypts a string using it's ASCII values.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"using its ASCCII values" isn't exactly correct, because ord() accommodates unicode characters. (also "its" is misspelled.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants