1MEMCACHED_SET_ENCODING_KEY(3)libmemcached-awesomeMEMCACHED_SET_ENCODING_KEY(3)
2
3
4
6 memcached_set_encoding_key - libmemcached Documentation
7
9 #include <libmemcached/memcached.h>
10 Compile and link with -lmemcached
11
12 memcached_return_t memcached_set_encoding_key(memcached_st *ptr, const
13 char *str, const size_t length)
14
15 Parameters
16
17 • ptr -- pointer to initialized memcached_st struct
18
19 • str -- the key to use
20
21 • length -- the length of key without any terminating
22 zero
23
24 Returns
25 memcached_return_t indicating success
26
28 memcached_set_encoding_key() sets the key that will be used to encrypt
29 and decrypt data as it is sent and received from the server.
30
31 Currently only AES is is supported.
32
34 A value of type memcached_return_t is returned. On success that value
35 will be MEMCACHED_SUCCESS. Use memcached_strerror() to translate this
36 value to a printable string.
37
39 memcached(1) libmemcached(3) memcached_strerror(3)
40
41
42
43
441.1 Sep 20, 2021 MEMCACHED_SET_ENCODING_KEY(3)