Set encryption key

SYNOPSIS

#include <libmemcached/memcached.h>

void memcached_set_encoding_key(memcached_st *ptr, const char *string, const size_t string_length)

Compile and link with -lmemcached

DESCRIPTION

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.

Currently only AES is is supported.

RETURN

A value of type memcached_return_t is returned On success that value will be MEMCACHED_SUCCESS. Use memcached_strerror() to translate this value to a printable string.

SEE ALSO