7 #include <libmemcached/memcached.h>
8 Compile and link with -lmemcached
10 .. function:: memcached_return_t memcached_set_encoding_key (memcached_st *ptr, const char *str, const size_t length)
12 :param ptr: pointer to initialized `memcached_st` struct
13 :param str: the key to use
14 :param length: the length of `key` without any terminating zero
15 :returns: `memcached_return_t` indicating success
20 :func:`memcached_set_encoding_key` sets the key that will be used to encrypt and
21 decrypt data as it is sent and received from the server.
23 Currently only AES is is supported.
28 A value of type :type:`memcached_return_t` is returned.
29 On success that value will be `MEMCACHED_SUCCESS`.
30 Use :func:`memcached_strerror` to translate this value to a printable string.
37 :manpage:`memcached(1)`
38 :manpage:`libmemcached(3)`
39 :manpage:`memcached_strerror(3)`
43 * :manpage:`memcached(1)`
44 * :doc:`../libmemcached`
45 * :doc:`memcached_strerror`