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

Method name inconsistency with TomCrypt API #2

Open
mikeboers opened this issue Apr 11, 2012 · 1 comment
Open

Method name inconsistency with TomCrypt API #2

mikeboers opened this issue Apr 11, 2012 · 1 comment

Comments

@mikeboers
Copy link
Owner

It has been suggested by a user that the ECC and RSA key.as_string() method name is not similar enough to the TomCrypt function names (*_export) for the connection to be immediately obvious.

I propose adding export() methods where appropriate, deprecating (but not removing) the old names.

@mikeboers
Copy link
Owner Author

Another idea is to add __str__() and __iter__()/__getitem__() to replace both as_string() and as_dict(), respectively, in the hopes of making it even more "Pythonic".

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