5 .. index:: object: memcached_st
11 #include <libmemcached/memcached.h>
13 .. c:function:: void memcached_set_encoding_key (memcached_st *ptr, const char *string, const size_t string_length)
15 Compile and link with -lmemcached
22 :c:func:`memcached_set_encoding_key` sets the key that will be used to encrypt and decrypt data as it is sent and recieved from the server.
24 Currently only AES is is supported.
32 A value of type :c:type:`memcached_return_t` is returned On success that value
33 will be :c:type:`MEMCACHED_SUCCESS`. Use :c:func:`memcached_strerror` to
34 translate this value to a printable string.
42 To find out more information please check:
43 `http://libmemcached.org/ <http://libmemcached.org/>`_
51 Brian Aker, <brian@tangent.org>
58 :manpage:`memcached(1)` :manpage:`libmemcached(3)` :manpage:`memcached_strerror(3)`