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

Possible to include support for AES encryption? #171

Open
davidblewett opened this issue Dec 5, 2014 · 2 comments
Open

Possible to include support for AES encryption? #171

davidblewett opened this issue Dec 5, 2014 · 2 comments

Comments

@davidblewett
Copy link

libmemcached supports AES encryption via:

http://docs.libmemcached.org/libmemcached-1.0/memcached_set_encoding_key.html

It would be nice if you could set maybe an aes_key behavior that activates this?

@lericson
Copy link
Owner

lericson commented Dec 8, 2014

Should be real simple to implement, I don't really have that particular itch to scratch but if you want to take a dive into C Python extensions, feel free!

@davidblewett
Copy link
Author

Unfortunately, my C skills are way too low for something like that. I've done a bit using cffi, but I don't really have the cycles to tackle a full-on C Python extension. I'll leave this here as a note in case someone else could step up.

For that future person, the cryptography package provides utilities for converting a password to a full crypto key:

https://cryptography.io/en/latest/hazmat/primitives/key-derivation-functions/

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

2 participants