4 .. index:: object: memcached_st
9 #include <libmemcached/memcached.h>
11 .. function:: void memcached_set_encoding_key (memcached_st *ptr, const char *string, const size_t string_length)
13 Compile and link with -lmemcached
18 :func:`memcached_set_encoding_key` sets the key that will be used to encrypt and decrypt data as it is sent and received from the server.
20 Currently only AES is is supported.
25 A value of type :type:`memcached_return_t` is returned On success that value
26 will be `MEMCACHED_SUCCESS`. Use :func:`memcached_strerror` to
27 translate this value to a printable string.
34 :manpage:`memcached(1)` :manpage:`libmemcached(3)` :manpage:`memcached_strerror(3)`